#ECE94E#ECE94E

#ECE94E is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 90.9% C 0.170 H 108.3°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#ECE94E
RGBrgb(236, 233, 78)
HSLhsl(59, 81%, 62%)
HSVhsv(59, 67%, 93%)
CMYKcmyk(0%, 1.3%, 66.9%, 7.5%)
CIE-LABlab(90.17, -16.85, 72.12)
CIE-LCHlch(90.17, 74.07, 103.15°)
OKLaboklab(90.94% -0.0532 0.1614)
OKLCHoklch(90.94% 0.17 108.3)
XYZxyz(65.1084, 76.6628, 18.5740)
Luminance0.7666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE94E #4E51EC
analogous
#EC9A4E #ECE94E #A0EC4E
triadic
#ECE94E #4EECE9 #E94EEC
tetradic
#ECE94E #4EEC9A #4E51EC #EC4EA0
square
#ECE94E #4EEC9A #4E51EC #EC4EA0
split-complementary
#ECE94E #4EA0EC #9A4EEC
monochromatic
#ADAA13 #E4E019 #ECE94E #F2F085 #F8F7BD

Accessibility & contrast

On white

1.29
#ECE94E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#ECE94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE94E
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE94E#FFFFFF#000000##000000
##ECE94E1.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE037
Deuteranopia (green-blind)
#FEE559
Tritanopia (blue-blind)
#FCDACA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece94e;
/* rgb */ color: rgb(236, 233, 78);
/* oklch */ color: oklch(90.9% 0.170 108.3);
Tailwind
colors: {
  custom: {
    50: '#f6ef88',
    500: '#ece94e',
    950: '#000000',
  },
}
SCSS
$custom: #ece94e;
$custom-light: #f6ef88;
$custom-dark: #000000;
JSON
{
  "hex": "#ece94e",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 78
  },
  "hsl": {
    "h": 58.861,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.90943,
    "c": 0.1699,
    "h": 108.3
  },
  "luminance": 0.76661
}

Semantic roles & 50–950 ramp

primary
#ECE94E
secondary
#3033AE
accent
#0DDD09
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #ECE94E

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

Preview Lab → · Contrast checker → · Palette generator →

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