#ECCB5F#ECCB5F

#ECCB5F is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 85.0% C 0.132 H 92.4°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#ECCB5F
RGBrgb(236, 203, 95)
HSLhsl(46, 79%, 65%)
HSVhsv(46, 60%, 93%)
CMYKcmyk(0%, 14%, 59.7%, 7.5%)
CIE-LABlab(82.58, -0.77, 57.01)
CIE-LCHlch(82.58, 57.02, 90.78°)
OKLaboklab(84.96% -0.0055 0.1318)
OKLCHoklch(84.96% 0.132 92.4)
XYZxyz(58.0162, 61.3739, 19.6147)
Luminance0.6137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCB5F #5F80EC
analogous
#EC845F #ECCB5F #C7EC5F
triadic
#ECCB5F #5FECCB #CB5FEC
tetradic
#ECCB5F #5FEC84 #5F80EC #EC5FC7
square
#ECCB5F #5FEC84 #5F80EC #EC5FC7
split-complementary
#ECCB5F #5FC7EC #845FEC
monochromatic
#BA9416 #E6B928 #ECCB5F #F2DD96 #F9EFCC

Accessibility & contrast

On white

1.58
#ECCB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#ECCB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCB5F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCB5F#FFFFFF#000000##000000
##ECCB5F1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC854
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#FEBDB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eccb5f;
/* rgb */ color: rgb(236, 203, 95);
/* oklch */ color: oklch(85.0% 0.132 92.4);
Tailwind
colors: {
  custom: {
    50: '#f5da90',
    500: '#eccb5f',
    950: '#000000',
  },
}
SCSS
$custom: #eccb5f;
$custom-light: #f5da90;
$custom-dark: #000000;
JSON
{
  "hex": "#eccb5f",
  "rgb": {
    "r": 236,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 45.957,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84964,
    "c": 0.13187,
    "h": 92.4
  },
  "luminance": 0.61371
}

Semantic roles & 50–950 ramp

primary
#ECCB5F
secondary
#3655BA
accent
#3BDB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #ECCB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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