#ECDB4B#ECDB4B

#ECDB4B is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.0% C 0.159 H 102.5°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#ECDB4B
RGBrgb(236, 219, 75)
HSLhsl(54, 81%, 61%)
HSVhsv(54, 68%, 93%)
CMYKcmyk(0%, 7.2%, 68.2%, 7.5%)
CIE-LABlab(86.51, -10.09, 69.57)
CIE-LCHlch(86.51, 70.30, 98.25°)
OKLaboklab(88.02% -0.0344 0.1555)
OKLCHoklch(88.02% 0.159 102.5)
XYZxyz(61.1962, 69.0065, 16.7513)
Luminance0.6900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB4B #4B5CEC
analogous
#EC8A4B #ECDB4B #ACEC4B
triadic
#ECDB4B #4BECDB #DB4BEC
tetradic
#ECDB4B #4BEC8A #4B5CEC #EC4BAC
square
#ECDB4B #4BEC8A #4B5CEC #EC4BAC
split-complementary
#ECDB4B #4BACEC #8A4BEC
monochromatic
#AB9A12 #E2CD18 #ECDB4B #F2E682 #F8F1BA

Accessibility & contrast

On white

1.42
#ECDB4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#ECDB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB4B
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB4B#FFFFFF#000000##000000
##ECDB4B1.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED436
Deuteranopia (green-blind)
#F4DC54
Tritanopia (blue-blind)
#FDCCBE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecdb4b;
/* rgb */ color: rgb(236, 219, 75);
/* oklch */ color: oklch(88.0% 0.159 102.5);
Tailwind
colors: {
  custom: {
    50: '#f6e585',
    500: '#ecdb4b',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb4b;
$custom-light: #f6e585;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb4b",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 75
  },
  "hsl": {
    "h": 53.665,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.88023,
    "c": 0.15924,
    "h": 102.5
  },
  "luminance": 0.69004
}

Semantic roles & 50–950 ramp

primary
#ECDB4B
secondary
#303DAC
accent
#1FDD08
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECDB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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