#E8CB52#E8CB52

#E8CB52 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.5% C 0.142 H 95.7°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#E8CB52
RGBrgb(232, 203, 82)
HSLhsl(48, 77%, 62%)
HSVhsv(48, 65%, 91%)
CMYKcmyk(0%, 12.5%, 64.7%, 9%)
CIE-LABlab(82.10, -3.27, 62.09)
CIE-LCHlch(82.10, 62.17, 93.02°)
OKLaboklab(84.46% -0.014 0.1409)
OKLCHoklch(84.46% 0.142 95.7)
XYZxyz(56.1602, 60.4797, 16.6966)
Luminance0.6048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CB52 #526FE8
analogous
#E88052 #E8CB52 #BAE852
triadic
#E8CB52 #52E8CB #CB52E8
tetradic
#E8CB52 #52E880 #526FE8 #E852BA
square
#E8CB52 #52E880 #526FE8 #E852BA
split-complementary
#E8CB52 #52BAE8 #8052E8
monochromatic
#A98D16 #DFBA1E #E8CB52 #EFDB88 #F6EBBE

Accessibility & contrast

On white

1.60
#E8CB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#E8CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CB52
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CB52#FFFFFF#000000##000000
##E8CB521.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#FABCB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e8cb52;
/* rgb */ color: rgb(232, 203, 82);
/* oklch */ color: oklch(84.5% 0.142 95.7);
Tailwind
colors: {
  custom: {
    50: '#f3da88',
    500: '#e8cb52',
    950: '#000000',
  },
}
SCSS
$custom: #e8cb52;
$custom-light: #f3da88;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cb52",
  "rgb": {
    "r": 232,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 48.4,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84461,
    "c": 0.14157,
    "h": 95.7
  },
  "luminance": 0.60477
}

Semantic roles & 50–950 ramp

primary
#E8CB52
secondary
#344BAB
accent
#34D90D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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