#ECE75F#ECE75F

#ECE75F is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.7% C 0.156 H 107.1°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#ECE75F
RGBrgb(236, 231, 95)
HSLhsl(58, 79%, 65%)
HSVhsv(58, 60%, 93%)
CMYKcmyk(0%, 2.1%, 59.7%, 7.5%)
CIE-LABlab(89.77, -14.87, 64.97)
CIE-LCHlch(89.77, 66.65, 102.89°)
OKLaboklab(90.67% -0.0459 0.1487)
OKLCHoklch(90.67% 0.156 107.1)
XYZxyz(65.2356, 75.8129, 22.0212)
Luminance0.7581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE75F #5F64EC
analogous
#ECA05F #ECE75F #ABEC5F
triadic
#ECE75F #5FECE7 #E75FEC
tetradic
#ECE75F #5FECA0 #5F64EC #EC5FAB
square
#ECE75F #5FECA0 #5F64EC #EC5FAB
split-complementary
#ECE75F #5FABEC #A05FEC
monochromatic
#BAB516 #E6DF28 #ECE75F #F2EF96 #F9F7CC

Accessibility & contrast

On white

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

On black

16.16
#ECE75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE75F
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE75F#FFFFFF#000000##000000
##ECE75F1.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ece75f;
/* rgb */ color: rgb(236, 231, 95);
/* oklch */ color: oklch(90.7% 0.156 107.1);
Tailwind
colors: {
  custom: {
    50: '#f5ee92',
    500: '#ece75f',
    950: '#000000',
  },
}
SCSS
$custom: #ece75f;
$custom-light: #f5ee92;
$custom-dark: #000000;
JSON
{
  "hex": "#ece75f",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 95
  },
  "hsl": {
    "h": 57.872,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.9067,
    "c": 0.15564,
    "h": 107.1
  },
  "luminance": 0.75811
}

Semantic roles & 50–950 ramp

primary
#ECE75F
secondary
#363ABA
accent
#12DB0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECE75F

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

Preview Lab → · Contrast checker → · Palette generator →

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