#ECEB5B#ECEB5B

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

Color values

HEX#ECEB5B
RGBrgb(236, 235, 91)
HSLhsl(60, 79%, 64%)
HSVhsv(60, 61%, 93%)
CMYKcmyk(0%, 0.4%, 61.4%, 7.5%)
CIE-LABlab(90.78, -17.08, 67.71)
CIE-LCHlch(90.78, 69.83, 104.16°)
OKLaboklab(91.47% -0.0526 0.154)
OKLCHoklch(91.47% 0.163 108.8)
XYZxyz(66.1908, 78.0067, 21.4656)
Luminance0.7801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEB5B #5B5CEC
analogous
#ECA35B #ECEB5B #A5EC5B
triadic
#ECEB5B #5BECEB #EB5BEC
tetradic
#ECEB5B #5BECA3 #5B5CEC #EC5BA5
square
#ECEB5B #5BECA3 #5B5CEC #EC5BA5
split-complementary
#ECEB5B #5BA5EC #A35BEC
monochromatic
#B7B615 #E6E424 #ECEB5B #F2F292 #F9F8C9

Accessibility & contrast

On white

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

On black

16.60
#ECEB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEB5B
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEB5B#FFFFFF#000000##000000
##ECEB5B1.001.2616.6016.60
#FFFFFF1.261.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eceb5b;
/* rgb */ color: rgb(236, 235, 91);
/* oklch */ color: oklch(91.5% 0.163 108.8);
Tailwind
colors: {
  custom: {
    50: '#f5f190',
    500: '#eceb5b',
    950: '#000000',
  },
}
SCSS
$custom: #eceb5b;
$custom-light: #f5f190;
$custom-dark: #000000;
JSON
{
  "hex": "#eceb5b",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 91
  },
  "hsl": {
    "h": 59.586,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91465,
    "c": 0.1627,
    "h": 108.8
  },
  "luminance": 0.78005
}

Semantic roles & 50–950 ramp

primary
#ECEB5B
secondary
#3435B7
accent
#0BDC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #ECEB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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