#E6C652#E6C652

#E6C652 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.3% C 0.138 H 93.7°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#E6C652
RGBrgb(230, 198, 82)
HSLhsl(47, 75%, 61%)
HSVhsv(47, 64%, 90%)
CMYKcmyk(0%, 13.9%, 64.3%, 9.8%)
CIE-LABlab(80.64, -1.54, 60.47)
CIE-LCHlch(80.64, 60.49, 91.46°)
OKLaboklab(83.27% -0.0089 0.1375)
OKLCHoklch(83.27% 0.138 93.7)
XYZxyz(54.3528, 57.8232, 16.2791)
Luminance0.5782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C652 #5272E6
analogous
#E67C52 #E6C652 #BCE652
triadic
#E6C652 #52E6C6 #C652E6
tetradic
#E6C652 #52E67C #5272E6 #E652BC
square
#E6C652 #52E67C #5272E6 #E652BC
split-complementary
#E6C652 #52BCE6 #7C52E6
monochromatic
#A68718 #DBB320 #E6C652 #EED887 #F5E9BD

Accessibility & contrast

On white

1.67
#E6C652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#E6C652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C652
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C652#FFFFFF#000000##000000
##E6C6521.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#E2CC58
Tritanopia (blue-blind)
#F8B7AD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e6c652;
/* rgb */ color: rgb(230, 198, 82);
/* oklch */ color: oklch(83.3% 0.138 93.7);
Tailwind
colors: {
  custom: {
    50: '#f1d787',
    500: '#e6c652',
    950: '#000000',
  },
}
SCSS
$custom: #e6c652;
$custom-light: #f1d787;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c652",
  "rgb": {
    "r": 230,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 47.027,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83266,
    "c": 0.1378,
    "h": 93.7
  },
  "luminance": 0.5782
}

Semantic roles & 50–950 ramp

primary
#E6C652
secondary
#344DA8
accent
#3AD70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6C652

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

Preview Lab → · Contrast checker → · Palette generator →

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