#ECE95E#ECE95E

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

Color values

HEX#ECE95E
RGBrgb(236, 233, 94)
HSLhsl(59, 79%, 65%)
HSVhsv(59, 60%, 93%)
CMYKcmyk(0%, 1.3%, 60.2%, 7.5%)
CIE-LABlab(90.29, -15.91, 65.94)
CIE-LCHlch(90.29, 67.84, 103.57°)
OKLaboklab(91.08% -0.0489 0.1507)
OKLCHoklch(91.08% 0.158 108)
XYZxyz(65.7534, 76.9208, 21.9710)
Luminance0.7692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE95E #5E61EC
analogous
#ECA25E #ECE95E #A8EC5E
triadic
#ECE95E #5EECE9 #E95EEC
tetradic
#ECE95E #5EECA2 #5E61EC #EC5EA8
square
#ECE95E #5EECA2 #5E61EC #EC5EA8
split-complementary
#ECE95E #5EA8EC #A25EEC
monochromatic
#BAB616 #E6E227 #ECE95E #F2F095 #F9F8CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECE95E#FFFFFF#000000##000000
##ECE95E1.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)
#FBE04E
Deuteranopia (green-blind)
#FDE666
Tritanopia (blue-blind)
#FCDBCC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece95e;
/* rgb */ color: rgb(236, 233, 94);
/* oklch */ color: oklch(91.1% 0.158 108.0);
Tailwind
colors: {
  custom: {
    50: '#f5ef91',
    500: '#ece95e',
    950: '#000000',
  },
}
SCSS
$custom: #ece95e;
$custom-light: #f5ef91;
$custom-dark: #000000;
JSON
{
  "hex": "#ece95e",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 94
  },
  "hsl": {
    "h": 58.732,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91076,
    "c": 0.1584,
    "h": 108
  },
  "luminance": 0.76919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECE95E

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

Preview Lab → · Contrast checker → · Palette generator →

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