#ECCD4B#ECCD4B

#ECCD4B is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 85.2% C 0.148 H 95.5°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#ECCD4B
RGBrgb(236, 205, 75)
HSLhsl(48, 81%, 61%)
HSVhsv(48, 68%, 93%)
CMYKcmyk(0%, 13.1%, 68.2%, 7.5%)
CIE-LABlab(82.92, -3.01, 65.93)
CIE-LCHlch(82.92, 66.00, 92.61°)
OKLaboklab(85.18% -0.0143 0.1478)
OKLCHoklch(85.18% 0.148 95.5)
XYZxyz(57.6962, 62.0065, 15.5847)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD4B #4B6AEC
analogous
#EC7C4B #ECCD4B #BBEC4B
triadic
#ECCD4B #4BECCD #CD4BEC
tetradic
#ECCD4B #4BEC7C #4B6AEC #EC4BBB
square
#ECCD4B #4BEC7C #4B6AEC #EC4BBB
split-complementary
#ECCD4B #4BBBEC #7C4BEC
monochromatic
#AB8D12 #E2BB18 #ECCD4B #F2DC82 #F8ECBA

Accessibility & contrast

On white

1.57
#ECCD4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#ECCD4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCD4B
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCD4B#FFFFFF#000000##000000
##ECCD4B1.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C939
Deuteranopia (green-blind)
#E9D352
Tritanopia (blue-blind)
#FEBEB2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #eccd4b;
/* rgb */ color: rgb(236, 205, 75);
/* oklch */ color: oklch(85.2% 0.148 95.5);
Tailwind
colors: {
  custom: {
    50: '#f6db84',
    500: '#eccd4b',
    950: '#000000',
  },
}
SCSS
$custom: #eccd4b;
$custom-light: #f6db84;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd4b",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 75
  },
  "hsl": {
    "h": 48.447,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85177,
    "c": 0.14846,
    "h": 95.5
  },
  "luminance": 0.62004
}

Semantic roles & 50–950 ramp

primary
#ECCD4B
secondary
#3047AC
accent
#31DD08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #ECCD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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