#ECD070#ECD070

#ECD070 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.2% C 0.120 H 93.5°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#ECD070
RGBrgb(236, 208, 112)
HSLhsl(46, 77%, 68%)
HSVhsv(46, 53%, 93%)
CMYKcmyk(0%, 11.9%, 52.5%, 7.5%)
CIE-LABlab(84.03, -2.05, 50.75)
CIE-LCHlch(84.03, 50.79, 92.32°)
OKLaboklab(86.17% -0.0073 0.12)
OKLCHoklch(86.17% 0.12 93.5)
XYZxyz(60.0748, 64.1172, 24.5376)
Luminance0.6411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD070 #708CEC
analogous
#EC9270 #ECD070 #CAEC70
triadic
#ECD070 #70ECD0 #D070EC
tetradic
#ECD070 #70EC92 #708CEC #EC70CA
square
#ECD070 #70EC92 #708CEC #EC70CA
split-complementary
#ECD070 #70CAEC #9270EC
monochromatic
#C7A01A #E5BE3A #ECD070 #F3E2A6 #FAF4DC

Accessibility & contrast

On white

1.52
#ECD070 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#ECD070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD070
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD070#FFFFFF#000000##000000
##ECD0701.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD67
Deuteranopia (green-blind)
#E9D574
Tritanopia (blue-blind)
#FCC3BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd070;
/* rgb */ color: rgb(236, 208, 112);
/* oklch */ color: oklch(86.2% 0.120 93.5);
Tailwind
colors: {
  custom: {
    50: '#f5de9b',
    500: '#ecd070',
    950: '#000000',
  },
}
SCSS
$custom: #ecd070;
$custom-light: #f5de9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd070",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 112
  },
  "hsl": {
    "h": 46.452,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86166,
    "c": 0.12025,
    "h": 93.5
  },
  "luminance": 0.64114
}

Semantic roles & 50–950 ramp

primary
#ECD070
secondary
#3C5BC4
accent
#3BD90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD070

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

Preview Lab → · Contrast checker → · Palette generator →

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