#ECE04B#ECE04B

#ECE04B is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.1% C 0.164 H 104.7°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#ECE04B
RGBrgb(236, 224, 75)
HSLhsl(56, 81%, 61%)
HSVhsv(56, 68%, 93%)
CMYKcmyk(0%, 5.1%, 68.2%, 7.5%)
CIE-LABlab(87.80, -12.58, 70.87)
CIE-LCHlch(87.80, 71.98, 100.07°)
OKLaboklab(89.05% -0.0415 0.1582)
OKLCHoklch(89.05% 0.164 104.7)
XYZxyz(62.5202, 71.6546, 17.1927)
Luminance0.7165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE04B #4B57EC
analogous
#EC8F4B #ECE04B #A7EC4B
triadic
#ECE04B #4BECE0 #E04BEC
tetradic
#ECE04B #4BEC8F #4B57EC #EC4BA7
square
#ECE04B #4BEC8F #4B57EC #EC4BA7
split-complementary
#ECE04B #4BA7EC #8F4BEC
monochromatic
#AB9F12 #E2D318 #ECE04B #F2EA82 #F8F3BA

Accessibility & contrast

On white

1.37
#ECE04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.33
#ECE04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE04B
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE04B#FFFFFF#000000##000000
##ECE04B1.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D834
Deuteranopia (green-blind)
#F7DF55
Tritanopia (blue-blind)
#FDD1C2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ece04b;
/* rgb */ color: rgb(236, 224, 75);
/* oklch */ color: oklch(89.1% 0.164 104.7);
Tailwind
colors: {
  custom: {
    50: '#f6e986',
    500: '#ece04b',
    950: '#000000',
  },
}
SCSS
$custom: #ece04b;
$custom-light: #f6e986;
$custom-dark: #000000;
JSON
{
  "hex": "#ece04b",
  "rgb": {
    "r": 236,
    "g": 224,
    "b": 75
  },
  "hsl": {
    "h": 55.528,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.89053,
    "c": 0.16356,
    "h": 104.7
  },
  "luminance": 0.71652
}

Semantic roles & 50–950 ramp

primary
#ECE04B
secondary
#3039AC
accent
#18DD08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #ECE04B

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

Preview Lab → · Contrast checker → · Palette generator →

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