#ECE94A#ECE94A

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

Color values

HEX#ECE94A
RGBrgb(236, 233, 74)
HSLhsl(59, 81%, 61%)
HSVhsv(59, 69%, 93%)
CMYKcmyk(0%, 1.3%, 68.6%, 7.5%)
CIE-LABlab(90.14, -17.06, 73.56)
CIE-LCHlch(90.14, 75.51, 103.05°)
OKLaboklab(90.91% -0.0542 0.1637)
OKLCHoklch(90.91% 0.172 108.3)
XYZxyz(64.9694, 76.6072, 17.8416)
Luminance0.7661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE94A #4A4DEC
analogous
#EC984A #ECE94A #9EEC4A
triadic
#ECE94A #4AECE9 #E94AEC
tetradic
#ECE94A #4AEC98 #4A4DEC #EC4A9E
square
#ECE94A #4AEC98 #4A4DEC #EC4A9E
split-complementary
#ECE94A #4A9EEC #984AEC
monochromatic
#AAA712 #E1DD18 #ECE94A #F2F081 #F8F6B9

Accessibility & contrast

On white

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

On black

16.32
#ECE94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE94A
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE94A#FFFFFF#000000##000000
##ECE94A1.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE030
Deuteranopia (green-blind)
#FEE555
Tritanopia (blue-blind)
#FDDACA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece94a;
/* rgb */ color: rgb(236, 233, 74);
/* oklch */ color: oklch(90.9% 0.172 108.3);
Tailwind
colors: {
  custom: {
    50: '#f6ef86',
    500: '#ece94a',
    950: '#000000',
  },
}
SCSS
$custom: #ece94a;
$custom-light: #f6ef86;
$custom-dark: #000000;
JSON
{
  "hex": "#ece94a",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 74
  },
  "hsl": {
    "h": 58.889,
    "s": 81,
    "l": 60.784
  },
  "oklch": {
    "l": 0.90914,
    "c": 0.17246,
    "h": 108.3
  },
  "luminance": 0.76605
}

Semantic roles & 50–950 ramp

primary
#ECE94A
secondary
#2F32AB
accent
#0CDD08
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #ECE94A

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

Preview Lab → · Contrast checker → · Palette generator →

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