#E6C152#E6C152

#E6C152 is a very light, vivid yellow. Relative luminance 0.556; OKLCH L 82.3% C 0.135 H 90.6°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#E6C152
RGBrgb(230, 193, 82)
HSLhsl(45, 75%, 61%)
HSVhsv(45, 64%, 90%)
CMYKcmyk(0%, 16.1%, 64.3%, 9.8%)
CIE-LABlab(79.37, 1.05, 59.10)
CIE-LCHlch(79.37, 59.11, 88.98°)
OKLaboklab(82.26% -0.0014 0.1346)
OKLCHoklch(82.26% 0.135 90.6)
XYZxyz(53.2287, 55.5751, 15.9044)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C152 #5277E6
analogous
#E67752 #E6C152 #C1E652
triadic
#E6C152 #52E6C1 #C152E6
tetradic
#E6C152 #52E677 #5277E6 #E652C1
square
#E6C152 #52E677 #5277E6 #E652C1
split-complementary
#E6C152 #52C1E6 #7752E6
monochromatic
#A68218 #DBAC20 #E6C152 #EED487 #F5E7BD

Accessibility & contrast

On white

1.73
#E6C152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#E6C152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C152
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C152#FFFFFF#000000##000000
##E6C1521.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#F8B2A9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e6c152;
/* rgb */ color: rgb(230, 193, 82);
/* oklch */ color: oklch(82.3% 0.135 90.6);
Tailwind
colors: {
  custom: {
    50: '#f1d387',
    500: '#e6c152',
    950: '#000000',
  },
}
SCSS
$custom: #e6c152;
$custom-light: #f1d387;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c152",
  "rgb": {
    "r": 230,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 45,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82264,
    "c": 0.13462,
    "h": 90.6
  },
  "luminance": 0.55572
}

Semantic roles & 50–950 ramp

primary
#E6C152
secondary
#3451A8
accent
#41D70F
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6C152

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

Preview Lab → · Contrast checker → · Palette generator →

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