#ECDF6A#ECDF6A

#ECDF6A is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.1% C 0.139 H 103.0°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#ECDF6A
RGBrgb(236, 223, 106)
HSLhsl(54, 77%, 67%)
HSVhsv(54, 55%, 93%)
CMYKcmyk(0%, 5.5%, 55.1%, 7.5%)
CIE-LABlab(87.80, -10.12, 57.96)
CIE-LCHlch(87.80, 58.84, 99.91°)
OKLaboklab(89.13% -0.0312 0.1351)
OKLCHoklch(89.13% 0.139 103)
XYZxyz(63.5833, 71.6511, 24.1136)
Luminance0.7165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDF6A #6A77EC
analogous
#EC9E6A #ECDF6A #B8EC6A
triadic
#ECDF6A #6AECDF #DF6AEC
tetradic
#ECDF6A #6AEC9E #6A77EC #EC6AB8
square
#ECDF6A #6AEC9E #6A77EC #EC6AB8
split-complementary
#ECDF6A #6AB8EC #9E6AEC
monochromatic
#C3B219 #E5D334 #ECDF6A #F3EBA0 #FAF6D7

Accessibility & contrast

On white

1.37
#ECDF6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.33
#ECDF6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDF6A
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDF6A#FFFFFF#000000##000000
##ECDF6A1.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D95E
Deuteranopia (green-blind)
#F5DF70
Tritanopia (blue-blind)
#FCD2C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecdf6a;
/* rgb */ color: rgb(236, 223, 106);
/* oklch */ color: oklch(89.1% 0.139 103.0);
Tailwind
colors: {
  custom: {
    50: '#f5e898',
    500: '#ecdf6a',
    950: '#000000',
  },
}
SCSS
$custom: #ecdf6a;
$custom-light: #f5e898;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdf6a",
  "rgb": {
    "r": 236,
    "g": 223,
    "b": 106
  },
  "hsl": {
    "h": 54,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89134,
    "c": 0.13863,
    "h": 103
  },
  "luminance": 0.71649
}

Semantic roles & 50–950 ramp

primary
#ECDF6A
secondary
#3947C1
accent
#20DA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECDF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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