#E6C951#E6C951

#E6C951 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.9% C 0.141 H 95.6°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#E6C951
RGBrgb(230, 201, 81)
HSLhsl(48, 75%, 61%)
HSVhsv(48, 65%, 90%)
CMYKcmyk(0%, 12.6%, 64.8%, 9.8%)
CIE-LABlab(81.40, -3.14, 61.71)
CIE-LCHlch(81.40, 61.79, 92.91°)
OKLaboklab(83.86% -0.0136 0.14)
OKLCHoklch(83.86% 0.141 95.6)
XYZxyz(55.0075, 59.1931, 16.3110)
Luminance0.5919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C951 #516EE6
analogous
#E67E51 #E6C951 #B8E651
triadic
#E6C951 #51E6C9 #C951E6
tetradic
#E6C951 #51E67E #516EE6 #E651B8
square
#E6C951 #51E67E #516EE6 #E651B8
split-complementary
#E6C951 #51B8E6 #7E51E6
monochromatic
#A58918 #DAB61F #E6C951 #EEDA87 #F5EABC

Accessibility & contrast

On white

1.64
#E6C951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#E6C951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C951
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C951#FFFFFF#000000##000000
##E6C9511.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC543
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#F7BAB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e6c951;
/* rgb */ color: rgb(230, 201, 81);
/* oklch */ color: oklch(83.9% 0.141 95.6);
Tailwind
colors: {
  custom: {
    50: '#f1d987',
    500: '#e6c951',
    950: '#000000',
  },
}
SCSS
$custom: #e6c951;
$custom-light: #f1d987;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c951",
  "rgb": {
    "r": 230,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 48.322,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83862,
    "c": 0.14064,
    "h": 95.6
  },
  "luminance": 0.5919
}

Semantic roles & 50–950 ramp

primary
#E6C951
secondary
#344BA7
accent
#36D70E
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6C951

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

Preview Lab → · Contrast checker → · Palette generator →

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