#ECE07D#ECE07D

#ECE07D is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.6% C 0.121 H 102.4°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#ECE07D
RGBrgb(236, 224, 125)
HSLhsl(54, 74%, 71%)
HSVhsv(54, 47%, 93%)
CMYKcmyk(0%, 5.1%, 47%, 7.5%)
CIE-LABlab(88.27, -9.03, 49.64)
CIE-LCHlch(88.27, 50.46, 100.31°)
OKLaboklab(89.58% -0.0261 0.1186)
OKLCHoklch(89.58% 0.121 102.4)
XYZxyz(64.9511, 72.6269, 29.9951)
Luminance0.7262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE07D #7D89EC
analogous
#ECA87D #ECE07D #C0EC7D
triadic
#ECE07D #7DECE0 #E07DEC
tetradic
#ECE07D #7DECA8 #7D89EC #EC7DC0
square
#ECE07D #7DECA8 #7D89EC #EC7DC0
split-complementary
#ECE07D #7DC0EC #A87DEC
monochromatic
#D0BD1E #E4D348 #ECE07D #F4EDB2 #FBF9E4

Accessibility & contrast

On white

1.35
#ECE07D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#ECE07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE07D
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE07D#FFFFFF#000000##000000
##ECE07D1.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA75
Deuteranopia (green-blind)
#F4E081
Tritanopia (blue-blind)
#FAD4C9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ece07d;
/* rgb */ color: rgb(236, 224, 125);
/* oklch */ color: oklch(89.6% 0.121 102.4);
Tailwind
colors: {
  custom: {
    50: '#f4e9a4',
    500: '#ece07d',
    950: '#000000',
  },
}
SCSS
$custom: #ece07d;
$custom-light: #f4e9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ece07d",
  "rgb": {
    "r": 236,
    "g": 224,
    "b": 125
  },
  "hsl": {
    "h": 53.514,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89575,
    "c": 0.12147,
    "h": 102.4
  },
  "luminance": 0.72625
}

Semantic roles & 50–950 ramp

primary
#ECE07D
secondary
#4855C5
accent
#24D70F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #ECE07D

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

Preview Lab → · Contrast checker → · Palette generator →

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