#ECE95D#ECE95D

#ECE95D is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.1% C 0.159 H 108.0°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#ECE95D
RGBrgb(236, 233, 93)
HSLhsl(59, 79%, 65%)
HSVhsv(59, 61%, 93%)
CMYKcmyk(0%, 1.3%, 60.6%, 7.5%)
CIE-LABlab(90.28, -15.98, 66.35)
CIE-LCHlch(90.28, 68.24, 103.54°)
OKLaboklab(91.07% -0.0492 0.1514)
OKLCHoklch(91.07% 0.159 108)
XYZxyz(65.7089, 76.9030, 21.7362)
Luminance0.7690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE95D #5D60EC
analogous
#ECA15D #ECE95D #A8EC5D
triadic
#ECE95D #5DECE9 #E95DEC
tetradic
#ECE95D #5DECA1 #5D60EC #EC5DA8
square
#ECE95D #5DECA1 #5D60EC #EC5DA8
split-complementary
#ECE95D #5DA8EC #A15DEC
monochromatic
#B9B516 #E6E226 #ECE95D #F2F094 #F9F8CB

Accessibility & contrast

On white

1.28
#ECE95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#ECE95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE95D
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE95D#FFFFFF#000000##000000
##ECE95D1.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE04C
Deuteranopia (green-blind)
#FDE665
Tritanopia (blue-blind)
#FCDBCC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece95d;
/* rgb */ color: rgb(236, 233, 93);
/* oklch */ color: oklch(91.1% 0.159 108.0);
Tailwind
colors: {
  custom: {
    50: '#f5ef91',
    500: '#ece95d',
    950: '#000000',
  },
}
SCSS
$custom: #ece95d;
$custom-light: #f5ef91;
$custom-dark: #000000;
JSON
{
  "hex": "#ece95d",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 93
  },
  "hsl": {
    "h": 58.741,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91067,
    "c": 0.15918,
    "h": 108
  },
  "luminance": 0.76901
}

Semantic roles & 50–950 ramp

primary
#ECE95D
secondary
#3538B8
accent
#0FDB0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #ECE95D

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

Preview Lab → · Contrast checker → · Palette generator →

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