#ECE75C#ECE75C

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

Color values

HEX#ECE75C
RGBrgb(236, 231, 92)
HSLhsl(58, 79%, 64%)
HSVhsv(58, 61%, 93%)
CMYKcmyk(0%, 2.1%, 61%, 7.5%)
CIE-LABlab(89.75, -15.06, 66.19)
CIE-LCHlch(89.75, 67.88, 102.82°)
OKLaboklab(90.64% -0.0467 0.1509)
OKLCHoklch(90.64% 0.158 107.2)
XYZxyz(65.1019, 75.7594, 21.3168)
Luminance0.7576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE75C #5C61EC
analogous
#EC9F5C #ECE75C #A9EC5C
triadic
#ECE75C #5CECE7 #E75CEC
tetradic
#ECE75C #5CEC9F #5C61EC #EC5CA9
square
#ECE75C #5CEC9F #5C61EC #EC5CA9
split-complementary
#ECE75C #5CA9EC #9F5CEC
monochromatic
#B8B215 #E6DF25 #ECE75C #F2EF93 #F9F7CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECE75C#FFFFFF#000000##000000
##ECE75C1.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)
#F9DF4B
Deuteranopia (green-blind)
#FCE464
Tritanopia (blue-blind)
#FCD9CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ece75c;
/* rgb */ color: rgb(236, 231, 92);
/* oklch */ color: oklch(90.6% 0.158 107.2);
Tailwind
colors: {
  custom: {
    50: '#f5ee90',
    500: '#ece75c',
    950: '#000000',
  },
}
SCSS
$custom: #ece75c;
$custom-light: #f5ee90;
$custom-dark: #000000;
JSON
{
  "hex": "#ece75c",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 92
  },
  "hsl": {
    "h": 57.917,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90642,
    "c": 0.15798,
    "h": 107.2
  },
  "luminance": 0.75757
}

Semantic roles & 50–950 ramp

primary
#ECE75C
secondary
#3539B8
accent
#11DB0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECE75C

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

Preview Lab → · Contrast checker → · Palette generator →

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