#ECCB5A#ECCB5A

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

Color values

HEX#ECCB5A
RGBrgb(236, 203, 90)
HSLhsl(46, 79%, 64%)
HSVhsv(46, 62%, 93%)
CMYKcmyk(0%, 14%, 61.9%, 7.5%)
CIE-LABlab(82.53, -1.11, 59.20)
CIE-LCHlch(82.53, 59.21, 91.07°)
OKLaboklab(84.91% -0.0071 0.1358)
OKLCHoklch(84.91% 0.136 93)
XYZxyz(57.7961, 61.2859, 18.4560)
Luminance0.6128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCB5A #5A7BEC
analogous
#EC825A #ECCB5A #C4EC5A
triadic
#ECCB5A #5AECCB #CB5AEC
tetradic
#ECCB5A #5AEC82 #5A7BEC #EC5AC4
square
#ECCB5A #5AEC82 #5A7BEC #EC5AC4
split-complementary
#ECCB5A #5AC4EC #825AEC
monochromatic
#B79215 #E6BA23 #ECCB5A #F2DC91 #F9EEC8

Accessibility & contrast

On white

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

On black

13.26
#ECCB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCB5A
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCB5A#FFFFFF#000000##000000
##ECCB5A1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84E
Deuteranopia (green-blind)
#E7D25F
Tritanopia (blue-blind)
#FEBCB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eccb5a;
/* rgb */ color: rgb(236, 203, 90);
/* oklch */ color: oklch(84.9% 0.136 93.0);
Tailwind
colors: {
  custom: {
    50: '#f5da8d',
    500: '#eccb5a',
    950: '#000000',
  },
}
SCSS
$custom: #eccb5a;
$custom-light: #f5da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#eccb5a",
  "rgb": {
    "r": 236,
    "g": 203,
    "b": 90
  },
  "hsl": {
    "h": 46.438,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84912,
    "c": 0.13596,
    "h": 93
  },
  "luminance": 0.61283
}

Semantic roles & 50–950 ramp

primary
#ECCB5A
secondary
#3451B6
accent
#39DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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