#ECCF5C#ECCF5C

#ECCF5C is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.7% C 0.137 H 95.2°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#ECCF5C
RGBrgb(236, 207, 92)
HSLhsl(48, 79%, 64%)
HSVhsv(48, 61%, 93%)
CMYKcmyk(0%, 12.3%, 61%, 7.5%)
CIE-LABlab(83.57, -3.03, 59.45)
CIE-LCHlch(83.57, 59.53, 92.91°)
OKLaboklab(85.73% -0.0124 0.1366)
OKLCHoklch(85.73% 0.137 95.2)
XYZxyz(58.8392, 63.2341, 19.2293)
Luminance0.6323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF5C #5C79EC
analogous
#EC875C #ECCF5C #C1EC5C
triadic
#ECCF5C #5CECCF #CF5CEC
tetradic
#ECCF5C #5CEC87 #5C79EC #EC5CC1
square
#ECCF5C #5CEC87 #5C79EC #EC5CC1
split-complementary
#ECCF5C #5CC1EC #875CEC
monochromatic
#B89715 #E6BF25 #ECCF5C #F2DF93 #F9EFCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCF5C#FFFFFF#000000##000000
##ECCF5C1.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)
#E2CB50
Deuteranopia (green-blind)
#EAD461
Tritanopia (blue-blind)
#FDC1B6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #eccf5c;
/* rgb */ color: rgb(236, 207, 92);
/* oklch */ color: oklch(85.7% 0.137 95.2);
Tailwind
colors: {
  custom: {
    50: '#f5dd8e',
    500: '#eccf5c',
    950: '#000000',
  },
}
SCSS
$custom: #eccf5c;
$custom-light: #f5dd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf5c",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 92
  },
  "hsl": {
    "h": 47.917,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85734,
    "c": 0.13715,
    "h": 95.2
  },
  "luminance": 0.63231
}

Semantic roles & 50–950 ramp

primary
#ECCF5C
secondary
#354FB8
accent
#34DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECCF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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