#ECD07C#ECD07C

#ECD07C is a very light, moderate yellow. Relative luminance 0.644; OKLCH L 86.3% C 0.108 H 91.6°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#ECD07C
RGBrgb(236, 208, 124)
HSLhsl(45, 75%, 71%)
HSVhsv(45, 47%, 93%)
CMYKcmyk(0%, 11.9%, 47.5%, 7.5%)
CIE-LABlab(84.17, -1.00, 45.09)
CIE-LCHlch(84.17, 45.10, 91.27°)
OKLaboklab(86.33% -0.0029 0.1085)
OKLCHoklch(86.33% 0.108 91.6)
XYZxyz(60.7880, 64.4024, 28.2938)
Luminance0.6440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD07C #7C98EC
analogous
#EC987C #ECD07C #D0EC7C
triadic
#ECD07C #7CECD0 #D07CEC
tetradic
#ECD07C #7CEC98 #7C98EC #EC7CD0
square
#ECD07C #7CEC98 #7C98EC #EC7CD0
split-complementary
#ECD07C #7CD0EC #987CEC
monochromatic
#D0A31E #E4BD47 #ECD07C #F4E3B1 #FBF5E4

Accessibility & contrast

On white

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

On black

13.88
#ECD07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD07C
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD07C#FFFFFF#000000##000000
##ECD07C1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD75
Deuteranopia (green-blind)
#E8D57F
Tritanopia (blue-blind)
#FBC4BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd07c;
/* rgb */ color: rgb(236, 208, 124);
/* oklch */ color: oklch(86.3% 0.108 91.6);
Tailwind
colors: {
  custom: {
    50: '#f4dea3',
    500: '#ecd07c',
    950: '#000000',
  },
}
SCSS
$custom: #ecd07c;
$custom-light: #f4dea3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd07c",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 124
  },
  "hsl": {
    "h": 45,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.86331,
    "c": 0.10849,
    "h": 91.6
  },
  "luminance": 0.644
}

Semantic roles & 50–950 ramp

primary
#ECD07C
secondary
#4767C5
accent
#41D70F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD07C

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

Preview Lab → · Contrast checker → · Palette generator →

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