#E6C852#E6C852

#E6C852 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.7% C 0.139 H 94.9°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#E6C852
RGBrgb(230, 200, 82)
HSLhsl(48, 75%, 61%)
HSVhsv(48, 64%, 90%)
CMYKcmyk(0%, 13%, 64.3%, 9.8%)
CIE-LABlab(81.15, -2.57, 61.02)
CIE-LCHlch(81.15, 61.07, 92.41°)
OKLaboklab(83.67% -0.0119 0.1387)
OKLCHoklch(83.67% 0.139 94.9)
XYZxyz(54.8129, 58.7435, 16.4325)
Luminance0.5874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C852 #5270E6
analogous
#E67E52 #E6C852 #BAE652
triadic
#E6C852 #52E6C8 #C852E6
tetradic
#E6C852 #52E67E #5270E6 #E652BA
square
#E6C852 #52E67E #5270E6 #E652BA
split-complementary
#E6C852 #52BAE6 #7E52E6
monochromatic
#A68918 #DBB520 #E6C852 #EED987 #F5EABD

Accessibility & contrast

On white

1.65
#E6C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#E6C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C852
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C852#FFFFFF#000000##000000
##E6C8521.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#E3CE58
Tritanopia (blue-blind)
#F7B9AF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e6c852;
/* rgb */ color: rgb(230, 200, 82);
/* oklch */ color: oklch(83.7% 0.139 94.9);
Tailwind
colors: {
  custom: {
    50: '#f1d888',
    500: '#e6c852',
    950: '#000000',
  },
}
SCSS
$custom: #e6c852;
$custom-light: #f1d888;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c852",
  "rgb": {
    "r": 230,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 47.838,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83669,
    "c": 0.13918,
    "h": 94.9
  },
  "luminance": 0.58741
}

Semantic roles & 50–950 ramp

primary
#E6C852
secondary
#344CA8
accent
#37D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6C852

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

Preview Lab → · Contrast checker → · Palette generator →

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