#ECEA67

A color in the Yellow, Gold family

#ecea67 is a color in the Yellow, Gold family: RGB(236, 234, 103), HSL(59°, 78%, 66%), CMYK(0%, 1%, 56%, 7%). Closest named color: khaki. Contrast is 1.27:1 on white and 16.53:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ecea67
RGBrgb(236 234 103)
RGB (legacy)rgb(236, 234, 103)
RGB %rgb(93% 92% 40%)
HSLhsl(59 78% 66%)
HSV / HSBhsv(59, 56%, 93%)
HWBhwb(59 40% 7%)
CMYKcmyk(0%, 1%, 56%, 7%)
CIELAB (D50)lab(90.99 -11.37 62.23)
LCHlch(90.99 63.26 100.36)
OKLaboklab(0.9137 -0.0476 0.1444)
OKLCHoklch(0.9137 0.1521 108.25)
Decimal15526503

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 4.2
Closest web-safe color#ffff66
Hue59°
Saturation (HSL / HSV)78% / 56%
Lightness (HSL)66%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)86% / 88%
Relative luminance (WCAG)0.7766
Red / Green / Blue236 / 234 / 103

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.27:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.53:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 13.3 / -90.6 · As background with white / black text: Lc -15.4 / 90.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #ecea67;
  --color-brand-oklch: oklch(91.37% 0.1521 108.25);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 234 103 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ecea67] text-[#ecea67] border-[#ecea67]">