#ECEA4F#ECEA4F

#ECEA4F is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.2% C 0.170 H 108.6°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#ECEA4F
RGBrgb(236, 234, 79)
HSLhsl(59, 81%, 62%)
HSVhsv(59, 67%, 93%)
CMYKcmyk(0%, 0.8%, 66.5%, 7.5%)
CIE-LABlab(90.43, -17.29, 72.02)
CIE-LCHlch(90.43, 74.07, 103.50°)
OKLaboklab(91.16% -0.0543 0.1613)
OKLCHoklch(91.16% 0.17 108.6)
XYZxyz(65.4284, 77.2450, 18.8589)
Luminance0.7724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEA4F #4F51EC
analogous
#EC9C4F #ECEA4F #9FEC4F
triadic
#ECEA4F #4FECEA #EA4FEC
tetradic
#ECEA4F #4FEC9C #4F51EC #EC4F9F
square
#ECEA4F #4FEC9C #4F51EC #EC4F9F
split-complementary
#ECEA4F #4F9FEC #9C4FEC
monochromatic
#AEAC13 #E5E219 #ECEA4F #F2F186 #F8F7BD

Accessibility & contrast

On white

1.28
#ECEA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#ECEA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEA4F
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEA4F#FFFFFF#000000##000000
##ECEA4F1.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE138
Deuteranopia (green-blind)
#FFE65A
Tritanopia (blue-blind)
#FCDBCB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ecea4f;
/* rgb */ color: rgb(236, 234, 79);
/* oklch */ color: oklch(91.2% 0.170 108.6);
Tailwind
colors: {
  custom: {
    50: '#f6f089',
    500: '#ecea4f',
    950: '#000000',
  },
}
SCSS
$custom: #ecea4f;
$custom-light: #f6f089;
$custom-dark: #000000;
JSON
{
  "hex": "#ecea4f",
  "rgb": {
    "r": 236,
    "g": 234,
    "b": 79
  },
  "hsl": {
    "h": 59.236,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.91159,
    "c": 0.1702,
    "h": 108.6
  },
  "luminance": 0.77243
}

Semantic roles & 50–950 ramp

primary
#ECEA4F
secondary
#3132AE
accent
#0BDD09
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #ECEA4F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#ECEA4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva