#ECD07A#ECD07A

#ECD07A is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.3% C 0.111 H 91.9°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#ECD07A
RGBrgb(236, 208, 122)
HSLhsl(45, 75%, 70%)
HSVhsv(45, 48%, 93%)
CMYKcmyk(0%, 11.9%, 48.3%, 7.5%)
CIE-LABlab(84.15, -1.18, 46.04)
CIE-LCHlch(84.15, 46.06, 91.47°)
OKLaboklab(86.3% -0.0037 0.1104)
OKLCHoklch(86.3% 0.111 91.9)
XYZxyz(60.6628, 64.3524, 27.6345)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD07A #7A96EC
analogous
#EC977A #ECD07A #CFEC7A
triadic
#ECD07A #7AECD0 #D07AEC
tetradic
#ECD07A #7AEC97 #7A96EC #EC7ACF
square
#ECD07A #7AEC97 #7A96EC #EC7ACF
split-complementary
#ECD07A #7ACFEC #977AEC
monochromatic
#CEA31D #E4BD44 #ECD07A #F4E3B0 #FBF6E4

Accessibility & contrast

On white

1.51
#ECD07A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#ECD07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD07A
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD07A#FFFFFF#000000##000000
##ECD07A1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD73
Deuteranopia (green-blind)
#E8D57D
Tritanopia (blue-blind)
#FCC4BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd07a;
/* rgb */ color: rgb(236, 208, 122);
/* oklch */ color: oklch(86.3% 0.111 91.9);
Tailwind
colors: {
  custom: {
    50: '#f4dea2',
    500: '#ecd07a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd07a;
$custom-light: #f4dea2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd07a",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 122
  },
  "hsl": {
    "h": 45.263,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86302,
    "c": 0.1105,
    "h": 91.9
  },
  "luminance": 0.6435
}

Semantic roles & 50–950 ramp

primary
#ECD07A
secondary
#4565C5
accent
#40D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD07A

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

Preview Lab → · Contrast checker → · Palette generator →

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