#ECDF7D#ECDF7D

#ECDF7D is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.4% C 0.120 H 101.8°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#ECDF7D
RGBrgb(236, 223, 125)
HSLhsl(53, 74%, 71%)
HSVhsv(53, 47%, 93%)
CMYKcmyk(0%, 5.5%, 47%, 7.5%)
CIE-LABlab(88.01, -8.53, 49.33)
CIE-LCHlch(88.01, 50.06, 99.81°)
OKLaboklab(89.37% -0.0246 0.1179)
OKLCHoklch(89.37% 0.12 101.8)
XYZxyz(64.6831, 72.0910, 29.9057)
Luminance0.7209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDF7D #7D8AEC
analogous
#ECA77D #ECDF7D #C1EC7D
triadic
#ECDF7D #7DECDF #DF7DEC
tetradic
#ECDF7D #7DECA7 #7D8AEC #EC7DC1
square
#ECDF7D #7DECA7 #7D8AEC #EC7DC1
split-complementary
#ECDF7D #7DC1EC #A77DEC
monochromatic
#D0BB1E #E4D248 #ECDF7D #F4ECB2 #FBF8E4

Accessibility & contrast

On white

1.36
#ECDF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#ECDF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDF7D
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDF7D#FFFFFF#000000##000000
##ECDF7D1.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD975
Deuteranopia (green-blind)
#F3DF81
Tritanopia (blue-blind)
#FAD3C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ecdf7d;
/* rgb */ color: rgb(236, 223, 125);
/* oklch */ color: oklch(89.4% 0.120 101.8);
Tailwind
colors: {
  custom: {
    50: '#f4e8a4',
    500: '#ecdf7d',
    950: '#000000',
  },
}
SCSS
$custom: #ecdf7d;
$custom-light: #f4e8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdf7d",
  "rgb": {
    "r": 236,
    "g": 223,
    "b": 125
  },
  "hsl": {
    "h": 52.973,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89371,
    "c": 0.12048,
    "h": 101.8
  },
  "luminance": 0.72089
}

Semantic roles & 50–950 ramp

primary
#ECDF7D
secondary
#4857C5
accent
#26D70F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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