#ECCB4D#ECCB4D

#ECCB4D is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.8% C 0.146 H 94.3°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#ECCB4D
RGBrgb(236, 203, 77)
HSLhsl(48, 81%, 61%)
HSVhsv(48, 67%, 93%)
CMYKcmyk(0%, 14%, 67.4%, 7.5%)
CIE-LABlab(82.42, -1.88, 64.61)
CIE-LCHlch(82.42, 64.64, 91.67°)
OKLaboklab(84.79% -0.0108 0.1453)
OKLCHoklch(84.79% 0.146 94.3)
XYZxyz(57.2904, 61.0836, 15.7924)
Luminance0.6108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCB4D #4D6EEC
analogous
#EC7C4D #ECCB4D #BEEC4D
triadic
#ECCB4D #4DECCB #CB4DEC
tetradic
#ECCB4D #4DEC7C #4D6EEC #EC4DBE
square
#ECCB4D #4DEC7C #4D6EEC #EC4DBE
split-complementary
#ECCB4D #4DBEEC #7C4DEC
monochromatic
#AC8C12 #E4B918 #ECCB4D #F2DB84 #F8EBBC

Accessibility & contrast

On white

1.59
#ECCB4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#ECCB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCB4D
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCB4D#FFFFFF#000000##000000
##ECCB4D1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73D
Deuteranopia (green-blind)
#E8D154
Tritanopia (blue-blind)
#FEBCB1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eccb4d;
/* rgb */ color: rgb(236, 203, 77);
/* oklch */ color: oklch(84.8% 0.146 94.3);
Tailwind
colors: {
  custom: {
    50: '#f6da85',
    500: '#eccb4d',
    950: '#000000',
  },
}
SCSS
$custom: #eccb4d;
$custom-light: #f6da85;
$custom-dark: #000000;
JSON
{
  "hex": "#eccb4d",
  "rgb": {
    "r": 236,
    "g": 203,
    "b": 77
  },
  "hsl": {
    "h": 47.547,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84791,
    "c": 0.14572,
    "h": 94.3
  },
  "luminance": 0.61081
}

Semantic roles & 50–950 ramp

primary
#ECCB4D
secondary
#304AAD
accent
#35DD08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #ECCB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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