#E6C252#E6C252

#E6C252 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.5% C 0.135 H 91.2°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#E6C252
RGBrgb(230, 194, 82)
HSLhsl(45, 75%, 61%)
HSVhsv(45, 64%, 90%)
CMYKcmyk(0%, 15.7%, 64.3%, 9.8%)
CIE-LABlab(79.62, 0.53, 59.38)
CIE-LCHlch(79.62, 59.38, 89.49°)
OKLaboklab(82.46% -0.0029 0.1352)
OKLCHoklch(82.46% 0.135 91.2)
XYZxyz(53.4506, 56.0187, 15.9784)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C252 #5276E6
analogous
#E67852 #E6C252 #C0E652
triadic
#E6C252 #52E6C2 #C252E6
tetradic
#E6C252 #52E678 #5276E6 #E652C0
square
#E6C252 #52E678 #5276E6 #E652C0
split-complementary
#E6C252 #52C0E6 #7852E6
monochromatic
#A68318 #DBAE20 #E6C252 #EED587 #F5E8BD

Accessibility & contrast

On white

1.72
#E6C252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#E6C252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C252
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C252#FFFFFF#000000##000000
##E6C2521.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF45
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#F8B3AA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e6c252;
/* rgb */ color: rgb(230, 194, 82);
/* oklch */ color: oklch(82.5% 0.135 91.2);
Tailwind
colors: {
  custom: {
    50: '#f1d487',
    500: '#e6c252',
    950: '#000000',
  },
}
SCSS
$custom: #e6c252;
$custom-light: #f1d487;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c252",
  "rgb": {
    "r": 230,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 45.405,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82463,
    "c": 0.13522,
    "h": 91.2
  },
  "luminance": 0.56016
}

Semantic roles & 50–950 ramp

primary
#E6C252
secondary
#3451A8
accent
#3FD70F
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6C252

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

Preview Lab → · Contrast checker → · Palette generator →

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