#ECE75B#ECE75B

#ECE75B is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.6% C 0.159 H 107.2°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#ECE75B
RGBrgb(236, 231, 91)
HSLhsl(58, 79%, 64%)
HSVhsv(58, 61%, 93%)
CMYKcmyk(0%, 2.1%, 61.4%, 7.5%)
CIE-LABlab(89.74, -15.13, 66.59)
CIE-LCHlch(89.74, 68.29, 102.80°)
OKLaboklab(90.63% -0.047 0.1516)
OKLCHoklch(90.63% 0.159 107.2)
XYZxyz(65.0585, 75.7421, 21.0881)
Luminance0.7574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE75B #5B60EC
analogous
#EC9F5B #ECE75B #A9EC5B
triadic
#ECE75B #5BECE7 #E75BEC
tetradic
#ECE75B #5BEC9F #5B60EC #EC5BA9
square
#ECE75B #5BEC9F #5B60EC #EC5BA9
split-complementary
#ECE75B #5BA9EC #9F5BEC
monochromatic
#B7B215 #E6DF24 #ECE75B #F2EF92 #F9F7C9

Accessibility & contrast

On white

1.30
#ECE75B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.15
#ECE75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE75B
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE75B#FFFFFF#000000##000000
##ECE75B1.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4A
Deuteranopia (green-blind)
#FCE463
Tritanopia (blue-blind)
#FCD9CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ece75b;
/* rgb */ color: rgb(236, 231, 91);
/* oklch */ color: oklch(90.6% 0.159 107.2);
Tailwind
colors: {
  custom: {
    50: '#f5ee8f',
    500: '#ece75b',
    950: '#000000',
  },
}
SCSS
$custom: #ece75b;
$custom-light: #f5ee8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ece75b",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 91
  },
  "hsl": {
    "h": 57.931,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90633,
    "c": 0.15875,
    "h": 107.2
  },
  "luminance": 0.7574
}

Semantic roles & 50–950 ramp

primary
#ECE75B
secondary
#3439B7
accent
#11DC0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECE75B

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

Preview Lab → · Contrast checker → · Palette generator →

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