#ECEB5D#ECEB5D

#ECEB5D is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.5% C 0.161 H 108.8°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#ECEB5D
RGBrgb(236, 235, 93)
HSLhsl(60, 79%, 65%)
HSVhsv(60, 61%, 93%)
CMYKcmyk(0%, 0.4%, 60.6%, 7.5%)
CIE-LABlab(90.80, -16.96, 66.91)
CIE-LCHlch(90.80, 69.02, 104.22°)
OKLaboklab(91.48% -0.052 0.1526)
OKLCHoklch(91.48% 0.161 108.8)
XYZxyz(66.2782, 78.0417, 21.9260)
Luminance0.7804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEB5D #5D5EEC
analogous
#ECA35D #ECEB5D #A6EC5D
triadic
#ECEB5D #5DECEB #EB5DEC
tetradic
#ECEB5D #5DECA3 #5D5EEC #EC5DA6
square
#ECEB5D #5DECA3 #5D5EEC #EC5DA6
split-complementary
#ECEB5D #5DA6EC #A35DEC
monochromatic
#B9B816 #E6E426 #ECEB5D #F2F294 #F9F9CB

Accessibility & contrast

On white

1.26
#ECEB5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.61
#ECEB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEB5D
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEB5D#FFFFFF#000000##000000
##ECEB5D1.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE24C
Deuteranopia (green-blind)
#FFE766
Tritanopia (blue-blind)
#FCDDCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #eceb5d;
/* rgb */ color: rgb(236, 235, 93);
/* oklch */ color: oklch(91.5% 0.161 108.8);
Tailwind
colors: {
  custom: {
    50: '#f5f191',
    500: '#eceb5d',
    950: '#000000',
  },
}
SCSS
$custom: #eceb5d;
$custom-light: #f5f191;
$custom-dark: #000000;
JSON
{
  "hex": "#eceb5d",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 93
  },
  "hsl": {
    "h": 59.58,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91483,
    "c": 0.16118,
    "h": 108.8
  },
  "luminance": 0.7804
}

Semantic roles & 50–950 ramp

primary
#ECEB5D
secondary
#3536B8
accent
#0CDB0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #ECEB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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