#ECE94B#ECE94B

#ECE94B 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#ECE94B
RGBrgb(236, 233, 75)
HSLhsl(59, 81%, 61%)
HSVhsv(59, 68%, 93%)
CMYKcmyk(0%, 1.3%, 68.2%, 7.5%)
CIE-LABlab(90.15, -17.01, 73.20)
CIE-LCHlch(90.15, 75.15, 103.08°)
OKLaboklab(90.92% -0.0539 0.1631)
OKLCHoklch(90.92% 0.172 108.3)
XYZxyz(65.0033, 76.6207, 18.0204)
Luminance0.7662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE94B #4B4EEC
analogous
#EC984B #ECE94B #9EEC4B
triadic
#ECE94B #4BECE9 #E94BEC
tetradic
#ECE94B #4BEC98 #4B4EEC #EC4B9E
square
#ECE94B #4BEC98 #4B4EEC #EC4B9E
split-complementary
#ECE94B #4B9EEC #984BEC
monochromatic
#ABA812 #E2DE18 #ECE94B #F2F082 #F8F7BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECE94B#FFFFFF#000000##000000
##ECE94B1.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)
#FCE032
Deuteranopia (green-blind)
#FEE556
Tritanopia (blue-blind)
#FDDACA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece94b;
/* rgb */ color: rgb(236, 233, 75);
/* oklch */ color: oklch(90.9% 0.172 108.3);
Tailwind
colors: {
  custom: {
    50: '#f6ef86',
    500: '#ece94b',
    950: '#000000',
  },
}
SCSS
$custom: #ece94b;
$custom-light: #f6ef86;
$custom-dark: #000000;
JSON
{
  "hex": "#ece94b",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 75
  },
  "hsl": {
    "h": 58.882,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.90921,
    "c": 0.17183,
    "h": 108.3
  },
  "luminance": 0.76619
}

Semantic roles & 50–950 ramp

primary
#ECE94B
secondary
#3032AC
accent
#0CDD08
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #ECE94B

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

Preview Lab → · Contrast checker → · Palette generator →

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