#ECE951#ECE951

#ECE951 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.0% C 0.168 H 108.2°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#ECE951
RGBrgb(236, 233, 81)
HSLhsl(59, 80%, 62%)
HSVhsv(59, 66%, 93%)
CMYKcmyk(0%, 1.3%, 65.7%, 7.5%)
CIE-LABlab(90.19, -16.69, 71.02)
CIE-LCHlch(90.19, 72.95, 103.23°)
OKLaboklab(90.97% -0.0525 0.1595)
OKLCHoklch(90.97% 0.168 108.2)
XYZxyz(65.2185, 76.7068, 19.1534)
Luminance0.7671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE951 #5154EC
analogous
#EC9C51 #ECE951 #A1EC51
triadic
#ECE951 #51ECE9 #E951EC
tetradic
#ECE951 #51EC9C #5154EC #EC51A1
square
#ECE951 #51EC9C #5154EC #EC51A1
split-complementary
#ECE951 #51A1EC #9C51EC
monochromatic
#AFAC13 #E6E21A #ECE951 #F2F088 #F8F7BF

Accessibility & contrast

On white

1.29
#ECE951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.34
#ECE951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE951
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE951#FFFFFF#000000##000000
##ECE9511.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE03B
Deuteranopia (green-blind)
#FEE55B
Tritanopia (blue-blind)
#FCDBCA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece951;
/* rgb */ color: rgb(236, 233, 81);
/* oklch */ color: oklch(91.0% 0.168 108.2);
Tailwind
colors: {
  custom: {
    50: '#f6ef8a',
    500: '#ece951',
    950: '#000000',
  },
}
SCSS
$custom: #ece951;
$custom-light: #f6ef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ece951",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 58.839,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.90966,
    "c": 0.1679,
    "h": 108.2
  },
  "luminance": 0.76705
}

Semantic roles & 50–950 ramp

primary
#ECE951
secondary
#3134B0
accent
#0DDD09
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #ECE951

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

Preview Lab → · Contrast checker → · Palette generator →

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