#ECDF7F#ECDF7F

#ECDF7F is a very light, moderate yellow. Relative luminance 0.721; OKLCH L 89.4% C 0.118 H 101.6°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#ECDF7F
RGBrgb(236, 223, 127)
HSLhsl(53, 74%, 71%)
HSVhsv(53, 46%, 93%)
CMYKcmyk(0%, 5.5%, 46.2%, 7.5%)
CIE-LABlab(88.04, -8.34, 48.39)
CIE-LCHlch(88.04, 49.11, 99.78°)
OKLaboklab(89.4% -0.0239 0.116)
OKLCHoklch(89.4% 0.118 101.6)
XYZxyz(64.8122, 72.1426, 30.5854)
Luminance0.7214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDF7F #7F8CEC
analogous
#ECA87F #ECDF7F #C2EC7F
triadic
#ECDF7F #7FECDF #DF7FEC
tetradic
#ECDF7F #7FECA8 #7F8CEC #EC7FC2
square
#ECDF7F #7FECA8 #7F8CEC #EC7FC2
split-complementary
#ECDF7F #7FC2EC #A87FEC
monochromatic
#D2BC1F #E4D24A #ECDF7F #F4ECB4 #FBF8E4

Accessibility & contrast

On white

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

On black

15.43
#ECDF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDF7F
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDF7F#FFFFFF#000000##000000
##ECDF7F1.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecdf7f;
/* rgb */ color: rgb(236, 223, 127);
/* oklch */ color: oklch(89.4% 0.118 101.6);
Tailwind
colors: {
  custom: {
    50: '#f4e8a6',
    500: '#ecdf7f',
    950: '#000000',
  },
}
SCSS
$custom: #ecdf7f;
$custom-light: #f4e8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdf7f",
  "rgb": {
    "r": 236,
    "g": 223,
    "b": 127
  },
  "hsl": {
    "h": 52.844,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89399,
    "c": 0.11845,
    "h": 101.6
  },
  "luminance": 0.72141
}

Semantic roles & 50–950 ramp

primary
#ECDF7F
secondary
#4A58C6
accent
#27D60F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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