#ECCF4F#ECCF4F

#ECCF4F is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.6% C 0.147 H 96.3°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#ECCF4F
RGBrgb(236, 207, 79)
HSLhsl(49, 81%, 62%)
HSVhsv(49, 67%, 93%)
CMYKcmyk(0%, 12.3%, 66.5%, 7.5%)
CIE-LABlab(83.46, -3.82, 64.87)
CIE-LCHlch(83.46, 64.98, 93.37°)
OKLaboklab(85.61% -0.0161 0.1462)
OKLCHoklch(85.61% 0.147 96.3)
XYZxyz(58.3189, 63.0260, 16.4890)
Luminance0.6302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF4F #4F6CEC
analogous
#EC814F #ECCF4F #BBEC4F
triadic
#ECCF4F #4FECCF #CF4FEC
tetradic
#ECCF4F #4FEC81 #4F6CEC #EC4FBB
square
#ECCF4F #4FEC81 #4F6CEC #EC4FBB
split-complementary
#ECCF4F #4FBBEC #814FEC
monochromatic
#AE9113 #E5BF19 #ECCF4F #F2DE86 #F8EDBD

Accessibility & contrast

On white

1.54
#ECCF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#ECCF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCF4F
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCF4F#FFFFFF#000000##000000
##ECCF4F1.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB3F
Deuteranopia (green-blind)
#EBD456
Tritanopia (blue-blind)
#FEC0B4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #eccf4f;
/* rgb */ color: rgb(236, 207, 79);
/* oklch */ color: oklch(85.6% 0.147 96.3);
Tailwind
colors: {
  custom: {
    50: '#f6dd86',
    500: '#eccf4f',
    950: '#000000',
  },
}
SCSS
$custom: #eccf4f;
$custom-light: #f6dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf4f",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 48.917,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85613,
    "c": 0.14708,
    "h": 96.3
  },
  "luminance": 0.63023
}

Semantic roles & 50–950 ramp

primary
#ECCF4F
secondary
#3148AE
accent
#30DD09
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECCF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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