#ECE95C#ECE95C

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

Color values

HEX#ECE95C
RGBrgb(236, 233, 92)
HSLhsl(59, 79%, 64%)
HSVhsv(59, 61%, 93%)
CMYKcmyk(0%, 1.3%, 61%, 7.5%)
CIE-LABlab(90.27, -16.04, 66.75)
CIE-LCHlch(90.27, 68.65, 103.51°)
OKLaboklab(91.06% -0.0495 0.1521)
OKLCHoklch(91.06% 0.16 108)
XYZxyz(65.6649, 76.8854, 21.5045)
Luminance0.7688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE95C #5C5FEC
analogous
#ECA15C #ECE95C #A7EC5C
triadic
#ECE95C #5CECE9 #E95CEC
tetradic
#ECE95C #5CECA1 #5C5FEC #EC5CA7
square
#ECE95C #5CECA1 #5C5FEC #EC5CA7
split-complementary
#ECE95C #5CA7EC #A15CEC
monochromatic
#B8B515 #E6E225 #ECE95C #F2F093 #F9F8CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECE95C#FFFFFF#000000##000000
##ECE95C1.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)
#FBE04B
Deuteranopia (green-blind)
#FDE664
Tritanopia (blue-blind)
#FCDBCB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece95c;
/* rgb */ color: rgb(236, 233, 92);
/* oklch */ color: oklch(91.1% 0.160 108.0);
Tailwind
colors: {
  custom: {
    50: '#f5ef90',
    500: '#ece95c',
    950: '#000000',
  },
}
SCSS
$custom: #ece95c;
$custom-light: #f5ef90;
$custom-dark: #000000;
JSON
{
  "hex": "#ece95c",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 92
  },
  "hsl": {
    "h": 58.75,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.91058,
    "c": 0.15995,
    "h": 108
  },
  "luminance": 0.76883
}

Semantic roles & 50–950 ramp

primary
#ECE95C
secondary
#3537B8
accent
#0EDB0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #ECE95C

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

Preview Lab → · Contrast checker → · Palette generator →

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