#ECCF5D#ECCF5D

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

Color values

HEX#ECCF5D
RGBrgb(236, 207, 93)
HSLhsl(48, 79%, 65%)
HSVhsv(48, 61%, 93%)
CMYKcmyk(0%, 12.3%, 60.6%, 7.5%)
CIE-LABlab(83.57, -2.96, 59.02)
CIE-LCHlch(83.57, 59.10, 92.87°)
OKLaboklab(85.75% -0.0121 0.1358)
OKLCHoklch(85.75% 0.136 95.1)
XYZxyz(58.8832, 63.2517, 19.4610)
Luminance0.6325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCF5D #5D7AEC
analogous
#EC885D #ECCF5D #C2EC5D
triadic
#ECCF5D #5DECCF #CF5DEC
tetradic
#ECCF5D #5DEC88 #5D7AEC #EC5DC2
square
#ECCF5D #5DEC88 #5D7AEC #EC5DC2
split-complementary
#ECCF5D #5DC2EC #885DEC
monochromatic
#B99816 #E6BF26 #ECCF5D #F2DF94 #F9EFCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCF5D#FFFFFF#000000##000000
##ECCF5D1.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)
#E2CB51
Deuteranopia (green-blind)
#EAD462
Tritanopia (blue-blind)
#FDC1B6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #eccf5d;
/* rgb */ color: rgb(236, 207, 93);
/* oklch */ color: oklch(85.7% 0.136 95.1);
Tailwind
colors: {
  custom: {
    50: '#f5dd8f',
    500: '#eccf5d',
    950: '#000000',
  },
}
SCSS
$custom: #eccf5d;
$custom-light: #f5dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#eccf5d",
  "rgb": {
    "r": 236,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 47.832,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85745,
    "c": 0.13634,
    "h": 95.1
  },
  "luminance": 0.63249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECCF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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