#ECE07A#ECE07A

#ECE07A is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.5% C 0.124 H 102.6°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#ECE07A
RGBrgb(236, 224, 122)
HSLhsl(54, 75%, 70%)
HSVhsv(54, 48%, 93%)
CMYKcmyk(0%, 5.1%, 48.3%, 7.5%)
CIE-LABlab(88.23, -9.30, 51.03)
CIE-LCHlch(88.23, 51.87, 100.33°)
OKLaboklab(89.53% -0.0271 0.1215)
OKLCHoklch(89.53% 0.124 102.6)
XYZxyz(64.7623, 72.5514, 29.0010)
Luminance0.7255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE07A #7A86EC
analogous
#ECA77A #ECE07A #BFEC7A
triadic
#ECE07A #7AECE0 #E07AEC
tetradic
#ECE07A #7AECA7 #7A86EC #EC7ABF
square
#ECE07A #7AECA7 #7A86EC #EC7ABF
split-complementary
#ECE07A #7ABFEC #A77AEC
monochromatic
#CEBC1D #E4D444 #ECE07A #F4ECB0 #FBF9E4

Accessibility & contrast

On white

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

On black

15.51
#ECE07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE07A
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE07A#FFFFFF#000000##000000
##ECE07A1.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA71
Deuteranopia (green-blind)
#F4E07F
Tritanopia (blue-blind)
#FBD4C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ece07a;
/* rgb */ color: rgb(236, 224, 122);
/* oklch */ color: oklch(89.5% 0.124 102.6);
Tailwind
colors: {
  custom: {
    50: '#f4e9a2',
    500: '#ece07a',
    950: '#000000',
  },
}
SCSS
$custom: #ece07a;
$custom-light: #f4e9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ece07a",
  "rgb": {
    "r": 236,
    "g": 224,
    "b": 122
  },
  "hsl": {
    "h": 53.684,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89534,
    "c": 0.12447,
    "h": 102.6
  },
  "luminance": 0.72549
}

Semantic roles & 50–950 ramp

primary
#ECE07A
secondary
#4553C5
accent
#23D70E
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #ECE07A

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

Preview Lab → · Contrast checker → · Palette generator →

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