#E6C752#E6C752

#E6C752 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.5% C 0.138 H 94.3°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#E6C752
RGBrgb(230, 199, 82)
HSLhsl(47, 75%, 61%)
HSVhsv(47, 64%, 90%)
CMYKcmyk(0%, 13.5%, 64.3%, 9.8%)
CIE-LABlab(80.90, -2.05, 60.74)
CIE-LCHlch(80.90, 60.78, 91.94°)
OKLaboklab(83.47% -0.0104 0.1381)
OKLCHoklch(83.47% 0.138 94.3)
XYZxyz(54.5821, 58.2819, 16.3555)
Luminance0.5828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C752 #5271E6
analogous
#E67D52 #E6C752 #BBE652
triadic
#E6C752 #52E6C7 #C752E6
tetradic
#E6C752 #52E67D #5271E6 #E652BB
square
#E6C752 #52E67D #5271E6 #E652BB
split-complementary
#E6C752 #52BBE6 #7D52E6
monochromatic
#A68818 #DBB420 #E6C752 #EED887 #F5EABD

Accessibility & contrast

On white

1.66
#E6C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#E6C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C752
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C752#FFFFFF#000000##000000
##E6C7521.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#E2CD58
Tritanopia (blue-blind)
#F8B8AE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e6c752;
/* rgb */ color: rgb(230, 199, 82);
/* oklch */ color: oklch(83.5% 0.138 94.3);
Tailwind
colors: {
  custom: {
    50: '#f1d788',
    500: '#e6c752',
    950: '#000000',
  },
}
SCSS
$custom: #e6c752;
$custom-light: #f1d788;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c752",
  "rgb": {
    "r": 230,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 47.432,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83467,
    "c": 0.13848,
    "h": 94.3
  },
  "luminance": 0.58279
}

Semantic roles & 50–950 ramp

primary
#E6C752
secondary
#344DA8
accent
#39D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6C752

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

Preview Lab → · Contrast checker → · Palette generator →

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