#ECDF8F#ECDF8F

#ECDF8F is a very light, moderate yellow. Relative luminance 0.726; OKLCH L 89.6% C 0.101 H 100.2°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#ECDF8F
RGBrgb(236, 223, 143)
HSLhsl(52, 71%, 74%)
HSVhsv(52, 39%, 93%)
CMYKcmyk(0%, 5.5%, 39.4%, 7.5%)
CIE-LABlab(88.25, -6.74, 40.79)
CIE-LCHlch(88.25, 41.34, 99.38°)
OKLaboklab(89.64% -0.0179 0.0998)
OKLCHoklch(89.64% 0.101 100.2)
XYZxyz(65.9389, 72.5933, 36.5197)
Luminance0.7259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDF8F #8F9CEC
analogous
#ECB18F #ECDF8F #CBEC8F
triadic
#ECDF8F #8FECDF #DF8FEC
tetradic
#ECDF8F #8FECB1 #8F9CEC #EC8FCB
square
#ECDF8F #8FECB1 #8F9CEC #EC8FCB
split-complementary
#ECDF8F #8FCBEC #B18FEC
monochromatic
#DAC126 #E3D05B #ECDF8F #F5EEC3 #FBF8E5

Accessibility & contrast

On white

1.35
#ECDF8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#ECDF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDF8F
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDF8F#FFFFFF#000000##000000
##ECDF8F1.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDA89
Deuteranopia (green-blind)
#F1E092
Tritanopia (blue-blind)
#F9D4CB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ecdf8f;
/* rgb */ color: rgb(236, 223, 143);
/* oklch */ color: oklch(89.6% 0.101 100.2);
Tailwind
colors: {
  custom: {
    50: '#f3e8b1',
    500: '#ecdf8f',
    950: '#000000',
  },
}
SCSS
$custom: #ecdf8f;
$custom-light: #f3e8b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdf8f",
  "rgb": {
    "r": 236,
    "g": 223,
    "b": 143
  },
  "hsl": {
    "h": 51.613,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.8964,
    "c": 0.10137,
    "h": 100.2
  },
  "luminance": 0.72591
}

Semantic roles & 50–950 ramp

primary
#ECDF8F
secondary
#5868C7
accent
#2DD312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171611
muted
#858481

Preview Lab

Preview with #ECDF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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