#ECCB4F#ECCB4F

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

Color values

HEX#ECCB4F
RGBrgb(236, 203, 79)
HSLhsl(47, 81%, 62%)
HSVhsv(47, 67%, 93%)
CMYKcmyk(0%, 14%, 66.5%, 7.5%)
CIE-LABlab(82.44, -1.77, 63.81)
CIE-LCHlch(82.44, 63.83, 91.59°)
OKLaboklab(84.81% -0.0103 0.1439)
OKLCHoklch(84.81% 0.144 94.1)
XYZxyz(57.3621, 61.1123, 16.1701)
Luminance0.6111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCB4F #4F70EC
analogous
#EC7D4F #ECCB4F #BEEC4F
triadic
#ECCB4F #4FECCB #CB4FEC
tetradic
#ECCB4F #4FEC7D #4F70EC #EC4FBE
square
#ECCB4F #4FEC7D #4F70EC #EC4FBE
split-complementary
#ECCB4F #4FBEEC #7D4FEC
monochromatic
#AE8D13 #E5BA19 #ECCB4F #F2DB86 #F8ECBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCB4F#FFFFFF#000000##000000
##ECCB4F1.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)
#DFC73F
Deuteranopia (green-blind)
#E8D155
Tritanopia (blue-blind)
#FEBCB1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eccb4f;
/* rgb */ color: rgb(236, 203, 79);
/* oklch */ color: oklch(84.8% 0.144 94.1);
Tailwind
colors: {
  custom: {
    50: '#f6da86',
    500: '#eccb4f',
    950: '#000000',
  },
}
SCSS
$custom: #eccb4f;
$custom-light: #f6da86;
$custom-dark: #000000;
JSON
{
  "hex": "#eccb4f",
  "rgb": {
    "r": 236,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 47.389,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84808,
    "c": 0.14431,
    "h": 94.1
  },
  "luminance": 0.61109
}

Semantic roles & 50–950 ramp

primary
#ECCB4F
secondary
#314BAE
accent
#35DD09
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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