#ECEB4B#ECEB4B

#ECEB4B is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.3% C 0.174 H 109.0°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#ECEB4B
RGBrgb(236, 235, 75)
HSLhsl(60, 81%, 61%)
HSVhsv(60, 68%, 93%)
CMYKcmyk(0%, 0.4%, 68.2%, 7.5%)
CIE-LABlab(90.67, -17.98, 73.72)
CIE-LCHlch(90.67, 75.88, 103.71°)
OKLaboklab(91.34% -0.0567 0.1642)
OKLCHoklch(91.34% 0.174 109)
XYZxyz(65.5727, 77.7595, 18.2102)
Luminance0.7776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEB4B #4B4CEC
analogous
#EC9A4B #ECEB4B #9CEC4B
triadic
#ECEB4B #4BECEB #EB4BEC
tetradic
#ECEB4B #4BEC9A #4B4CEC #EC4B9C
square
#ECEB4B #4BEC9A #4B4CEC #EC4B9C
split-complementary
#ECEB4B #4B9CEC #9A4BEC
monochromatic
#ABAA12 #E2E118 #ECEB4B #F2F182 #F8F7BA

Accessibility & contrast

On white

1.27
#ECEB4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.55
#ECEB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEB4B
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEB4B#FFFFFF#000000##000000
##ECEB4B1.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE131
Deuteranopia (green-blind)
#FFE756
Tritanopia (blue-blind)
#FCDCCB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #eceb4b;
/* rgb */ color: rgb(236, 235, 75);
/* oklch */ color: oklch(91.3% 0.174 109.0);
Tailwind
colors: {
  custom: {
    50: '#f6f187',
    500: '#eceb4b',
    950: '#000000',
  },
}
SCSS
$custom: #eceb4b;
$custom-light: #f6f187;
$custom-dark: #000000;
JSON
{
  "hex": "#eceb4b",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 75
  },
  "hsl": {
    "h": 59.627,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.91339,
    "c": 0.17374,
    "h": 109
  },
  "luminance": 0.77758
}

Semantic roles & 50–950 ramp

primary
#ECEB4B
secondary
#3030AC
accent
#0ADD08
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #ECEB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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