#ECE07E#ECE07E

#ECE07E is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.6% C 0.120 H 102.3°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#ECE07E
RGBrgb(236, 224, 126)
HSLhsl(53, 74%, 71%)
HSVhsv(53, 47%, 93%)
CMYKcmyk(0%, 5.1%, 46.6%, 7.5%)
CIE-LABlab(88.28, -8.94, 49.17)
CIE-LCHlch(88.28, 49.98, 100.30°)
OKLaboklab(89.59% -0.0257 0.1177)
OKLCHoklch(89.59% 0.12 102.3)
XYZxyz(65.0153, 72.6526, 30.3332)
Luminance0.7265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE07E #7E8AEC
analogous
#ECA97E #ECE07E #C1EC7E
triadic
#ECE07E #7EECE0 #E07EEC
tetradic
#ECE07E #7EECA9 #7E8AEC #EC7EC1
square
#ECE07E #7EECA9 #7E8AEC #EC7EC1
split-complementary
#ECE07E #7EC1EC #A97EEC
monochromatic
#D1BD1F #E4D349 #ECE07E #F4EDB3 #FBF9E4

Accessibility & contrast

On white

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

On black

15.53
#ECE07E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE07E
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE07E#FFFFFF#000000##000000
##ECE07E1.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ece07e;
/* rgb */ color: rgb(236, 224, 126);
/* oklch */ color: oklch(89.6% 0.120 102.3);
Tailwind
colors: {
  custom: {
    50: '#f4e9a5',
    500: '#ece07e',
    950: '#000000',
  },
}
SCSS
$custom: #ece07e;
$custom-light: #f4e9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ece07e",
  "rgb": {
    "r": 236,
    "g": 224,
    "b": 126
  },
  "hsl": {
    "h": 53.455,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89588,
    "c": 0.12046,
    "h": 102.3
  },
  "luminance": 0.72651
}

Semantic roles & 50–950 ramp

primary
#ECE07E
secondary
#4956C5
accent
#25D60F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #ECE07E

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

Preview Lab → · Contrast checker → · Palette generator →

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