#E6C251#E6C251

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

Color values

HEX#E6C251
RGBrgb(230, 194, 81)
HSLhsl(46, 75%, 61%)
HSVhsv(46, 65%, 90%)
CMYKcmyk(0%, 15.7%, 64.8%, 9.8%)
CIE-LABlab(79.62, 0.47, 59.80)
CIE-LCHlch(79.62, 59.80, 89.55°)
OKLaboklab(82.45% -0.0032 0.1359)
OKLCHoklch(82.45% 0.136 91.4)
XYZxyz(53.4128, 56.0036, 15.7794)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C251 #5175E6
analogous
#E67751 #E6C251 #C0E651
triadic
#E6C251 #51E6C2 #C251E6
tetradic
#E6C251 #51E677 #5175E6 #E651C0
square
#E6C251 #51E677 #5175E6 #E651C0
split-complementary
#E6C251 #51C0E6 #7751E6
monochromatic
#A58318 #DAAD1F #E6C251 #EED587 #F5E8BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E6C251#FFFFFF#000000##000000
##E6C2511.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)
#D6BF44
Deuteranopia (green-blind)
#DFCA56
Tritanopia (blue-blind)
#F8B3AA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e6c251;
/* rgb */ color: rgb(230, 194, 81);
/* oklch */ color: oklch(82.5% 0.136 91.4);
Tailwind
colors: {
  custom: {
    50: '#f2d487',
    500: '#e6c251',
    950: '#000000',
  },
}
SCSS
$custom: #e6c251;
$custom-light: #f2d487;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c251",
  "rgb": {
    "r": 230,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 45.503,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82454,
    "c": 0.13598,
    "h": 91.4
  },
  "luminance": 0.56001
}

Semantic roles & 50–950 ramp

primary
#E6C251
secondary
#3450A7
accent
#3FD70E
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6C251

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

Preview Lab → · Contrast checker → · Palette generator →

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