#ECCE4D#ECCE4D

#ECCE4D is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.4% C 0.148 H 95.9°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#ECCE4D
RGBrgb(236, 206, 77)
HSLhsl(49, 81%, 61%)
HSVhsv(49, 67%, 93%)
CMYKcmyk(0%, 12.7%, 67.4%, 7.5%)
CIE-LABlab(83.19, -3.41, 65.40)
CIE-LCHlch(83.19, 65.49, 92.99°)
OKLaboklab(85.39% -0.0152 0.147)
OKLCHoklch(85.39% 0.148 95.9)
XYZxyz(58.0057, 62.5143, 16.0309)
Luminance0.6251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE4D #4D6BEC
analogous
#EC7F4D #ECCE4D #BBEC4D
triadic
#ECCE4D #4DECCE #CE4DEC
tetradic
#ECCE4D #4DEC7F #4D6BEC #EC4DBB
square
#ECCE4D #4DEC7F #4D6BEC #EC4DBB
split-complementary
#ECCE4D #4DBBEC #7F4DEC
monochromatic
#AC8F12 #E4BD18 #ECCE4D #F2DD84 #F8ECBC

Accessibility & contrast

On white

1.56
#ECCE4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#ECCE4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCE4D
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCE4D#FFFFFF#000000##000000
##ECCE4D1.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA3C
Deuteranopia (green-blind)
#EAD354
Tritanopia (blue-blind)
#FEBFB3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ecce4d;
/* rgb */ color: rgb(236, 206, 77);
/* oklch */ color: oklch(85.4% 0.148 95.9);
Tailwind
colors: {
  custom: {
    50: '#f6dc85',
    500: '#ecce4d',
    950: '#000000',
  },
}
SCSS
$custom: #ecce4d;
$custom-light: #f6dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce4d",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 77
  },
  "hsl": {
    "h": 48.679,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85394,
    "c": 0.14778,
    "h": 95.9
  },
  "luminance": 0.62511
}

Semantic roles & 50–950 ramp

primary
#ECCE4D
secondary
#3048AD
accent
#31DD08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #ECCE4D

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

Preview Lab → · Contrast checker → · Palette generator →

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