#ECCB5D#ECCB5D

#ECCB5D is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.9% C 0.134 H 92.6°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#ECCB5D
RGBrgb(236, 203, 93)
HSLhsl(46, 79%, 65%)
HSVhsv(46, 61%, 93%)
CMYKcmyk(0%, 14%, 60.6%, 7.5%)
CIE-LABlab(82.56, -0.91, 57.89)
CIE-LCHlch(82.56, 57.90, 90.90°)
OKLaboklab(84.94% -0.0062 0.1334)
OKLCHoklch(84.94% 0.134 92.6)
XYZxyz(57.9264, 61.3380, 19.1421)
Luminance0.6133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCB5D #5D7EEC
analogous
#EC845D #ECCB5D #C6EC5D
triadic
#ECCB5D #5DECCB #CB5DEC
tetradic
#ECCB5D #5DEC84 #5D7EEC #EC5DC6
square
#ECCB5D #5DEC84 #5D7EEC #EC5DC6
split-complementary
#ECCB5D #5DC6EC #845DEC
monochromatic
#B99316 #E6B926 #ECCB5D #F2DD94 #F9EECB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCB5D#FFFFFF#000000##000000
##ECCB5D1.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)
#DEC851
Deuteranopia (green-blind)
#E7D262
Tritanopia (blue-blind)
#FEBDB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eccb5d;
/* rgb */ color: rgb(236, 203, 93);
/* oklch */ color: oklch(84.9% 0.134 92.6);
Tailwind
colors: {
  custom: {
    50: '#f5da8f',
    500: '#eccb5d',
    950: '#000000',
  },
}
SCSS
$custom: #eccb5d;
$custom-light: #f5da8f;
$custom-dark: #000000;
JSON
{
  "hex": "#eccb5d",
  "rgb": {
    "r": 236,
    "g": 203,
    "b": 93
  },
  "hsl": {
    "h": 46.154,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84943,
    "c": 0.13353,
    "h": 92.6
  },
  "luminance": 0.61335
}

Semantic roles & 50–950 ramp

primary
#ECCB5D
secondary
#3553B8
accent
#3ADB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #ECCB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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