#ECEB4F#ECEB4F

#ECEB4F is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.4% C 0.171 H 109.0°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#ECEB4F
RGBrgb(236, 235, 79)
HSLhsl(60, 81%, 62%)
HSVhsv(60, 67%, 93%)
CMYKcmyk(0%, 0.4%, 66.5%, 7.5%)
CIE-LABlab(90.70, -17.77, 72.29)
CIE-LCHlch(90.70, 74.44, 103.81°)
OKLaboklab(91.37% -0.0557 0.1619)
OKLCHoklch(91.37% 0.171 109)
XYZxyz(65.7139, 77.8160, 18.9540)
Luminance0.7781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEB4F #4F50EC
analogous
#EC9D4F #ECEB4F #9FEC4F
triadic
#ECEB4F #4FECEB #EB4FEC
tetradic
#ECEB4F #4FEC9D #4F50EC #EC4F9F
square
#ECEB4F #4FEC9D #4F50EC #EC4F9F
split-complementary
#ECEB4F #4F9FEC #9D4FEC
monochromatic
#AEAD13 #E5E419 #ECEB4F #F2F186 #F8F8BD

Accessibility & contrast

On white

1.27
#ECEB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#ECEB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEB4F
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEB4F#FFFFFF#000000##000000
##ECEB4F1.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE238
Deuteranopia (green-blind)
#FFE75A
Tritanopia (blue-blind)
#FCDCCC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #eceb4f;
/* rgb */ color: rgb(236, 235, 79);
/* oklch */ color: oklch(91.4% 0.171 109.0);
Tailwind
colors: {
  custom: {
    50: '#f6f189',
    500: '#eceb4f',
    950: '#000000',
  },
}
SCSS
$custom: #eceb4f;
$custom-light: #f6f189;
$custom-dark: #000000;
JSON
{
  "hex": "#eceb4f",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 79
  },
  "hsl": {
    "h": 59.618,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.91368,
    "c": 0.17117,
    "h": 109
  },
  "luminance": 0.77814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECEB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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