#ECCF5F#ECCF5F

#ECCF5F is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.8% C 0.135 H 94.9°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#ECCF5F
RGBrgb(236, 207, 95)
HSLhsl(48, 79%, 65%)
HSVhsv(48, 60%, 93%)
CMYKcmyk(0%, 12.3%, 59.7%, 7.5%)
CIE-LABlab(83.59, -2.83, 58.15)
CIE-LCHlch(83.59, 58.22, 92.78°)
OKLaboklab(85.77% -0.0114 0.1342)
OKLCHoklch(85.77% 0.135 94.9)
XYZxyz(58.9730, 63.2876, 19.9337)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF5F #5F7CEC
analogous
#EC895F #ECCF5F #C2EC5F
triadic
#ECCF5F #5FECCF #CF5FEC
tetradic
#ECCF5F #5FEC89 #5F7CEC #EC5FC2
square
#ECCF5F #5FEC89 #5F7CEC #EC5FC2
split-complementary
#ECCF5F #5FC2EC #895FEC
monochromatic
#BA9916 #E6BF28 #ECCF5F #F2DF96 #F9F0CC

Accessibility & contrast

On white

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

On black

13.66
#ECCF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCF5F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCF5F#FFFFFF#000000##000000
##ECCF5F1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB53
Deuteranopia (green-blind)
#EAD464
Tritanopia (blue-blind)
#FDC1B6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #eccf5f;
/* rgb */ color: rgb(236, 207, 95);
/* oklch */ color: oklch(85.8% 0.135 94.9);
Tailwind
colors: {
  custom: {
    50: '#f5dd90',
    500: '#eccf5f',
    950: '#000000',
  },
}
SCSS
$custom: #eccf5f;
$custom-light: #f5dd90;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf5f",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 47.66,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85765,
    "c": 0.13468,
    "h": 94.9
  },
  "luminance": 0.63285
}

Semantic roles & 50–950 ramp

primary
#ECCF5F
secondary
#3651BA
accent
#35DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECCF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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