#ECE958#ECE958

#ECE958 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.0% C 0.163 H 108.1°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#ECE958
RGBrgb(236, 233, 88)
HSLhsl(59, 80%, 64%)
HSVhsv(59, 63%, 93%)
CMYKcmyk(0%, 1.3%, 62.7%, 7.5%)
CIE-LABlab(90.24, -16.29, 68.34)
CIE-LCHlch(90.24, 70.25, 103.41°)
OKLaboklab(91.02% -0.0506 0.1549)
OKLCHoklch(91.02% 0.163 108.1)
XYZxyz(65.4946, 76.8173, 20.6078)
Luminance0.7681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE958 #585BEC
analogous
#EC9F58 #ECE958 #A5EC58
triadic
#ECE958 #58ECE9 #E958EC
tetradic
#ECE958 #58EC9F #585BEC #EC58A5
square
#ECE958 #58EC9F #585BEC #EC58A5
split-complementary
#ECE958 #58A5EC #9F58EC
monochromatic
#B5B215 #E6E221 #ECE958 #F2F08F #F9F7C6

Accessibility & contrast

On white

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

On black

16.36
#ECE958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE958
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE958#FFFFFF#000000##000000
##ECE9581.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE045
Deuteranopia (green-blind)
#FEE661
Tritanopia (blue-blind)
#FCDBCB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece958;
/* rgb */ color: rgb(236, 233, 88);
/* oklch */ color: oklch(91.0% 0.163 108.1);
Tailwind
colors: {
  custom: {
    50: '#f5ef8e',
    500: '#ece958',
    950: '#000000',
  },
}
SCSS
$custom: #ece958;
$custom-light: #f5ef8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ece958",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 88
  },
  "hsl": {
    "h": 58.784,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.91023,
    "c": 0.16295,
    "h": 108.1
  },
  "luminance": 0.76815
}

Semantic roles & 50–950 ramp

primary
#ECE958
secondary
#3336B5
accent
#0EDC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #ECE958

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

Preview Lab → · Contrast checker → · Palette generator →

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