#ECCF5E#ECCF5E

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

Color values

HEX#ECCF5E
RGBrgb(236, 207, 94)
HSLhsl(48, 79%, 65%)
HSVhsv(48, 60%, 93%)
CMYKcmyk(0%, 12.3%, 60.2%, 7.5%)
CIE-LABlab(83.58, -2.89, 58.59)
CIE-LCHlch(83.58, 58.66, 92.83°)
OKLaboklab(85.76% -0.0118 0.135)
OKLCHoklch(85.76% 0.136 95)
XYZxyz(58.9278, 63.2695, 19.6958)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF5E #5E7BEC
analogous
#EC885E #ECCF5E #C2EC5E
triadic
#ECCF5E #5EECCF #CF5EEC
tetradic
#ECCF5E #5EEC88 #5E7BEC #EC5EC2
square
#ECCF5E #5EEC88 #5E7BEC #EC5EC2
split-complementary
#ECCF5E #5EC2EC #885EEC
monochromatic
#BA9816 #E6BF27 #ECCF5E #F2DF95 #F9F0CB

Accessibility & contrast

On white

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

On black

13.65
#ECCF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCF5E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCF5E#FFFFFF#000000##000000
##ECCF5E1.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eccf5e;
/* rgb */ color: rgb(236, 207, 94);
/* oklch */ color: oklch(85.8% 0.136 95.0);
Tailwind
colors: {
  custom: {
    50: '#f5dd90',
    500: '#eccf5e',
    950: '#000000',
  },
}
SCSS
$custom: #eccf5e;
$custom-light: #f5dd90;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf5e",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 94
  },
  "hsl": {
    "h": 47.746,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85755,
    "c": 0.13551,
    "h": 95
  },
  "luminance": 0.63267
}

Semantic roles & 50–950 ramp

primary
#ECCF5E
secondary
#3550B9
accent
#35DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECCF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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