#E6C451#E6C451

#E6C451 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.9% C 0.137 H 92.6°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#E6C451
RGBrgb(230, 196, 81)
HSLhsl(46, 75%, 61%)
HSVhsv(46, 65%, 90%)
CMYKcmyk(0%, 14.8%, 64.8%, 9.8%)
CIE-LABlab(80.12, -0.56, 60.35)
CIE-LCHlch(80.12, 60.35, 90.54°)
OKLaboklab(82.85% -0.0062 0.1371)
OKLCHoklch(82.85% 0.137 92.6)
XYZxyz(53.8609, 56.8999, 15.9288)
Luminance0.5690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C451 #5173E6
analogous
#E67951 #E6C451 #BDE651
triadic
#E6C451 #51E6C4 #C451E6
tetradic
#E6C451 #51E679 #5173E6 #E651BD
square
#E6C451 #51E679 #5173E6 #E651BD
split-complementary
#E6C451 #51BDE6 #7951E6
monochromatic
#A58518 #DAB01F #E6C451 #EED687 #F5E8BC

Accessibility & contrast

On white

1.70
#E6C451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#E6C451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C451
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C451#FFFFFF#000000##000000
##E6C4511.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#E0CB56
Tritanopia (blue-blind)
#F8B5AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e6c451;
/* rgb */ color: rgb(230, 196, 81);
/* oklch */ color: oklch(82.9% 0.137 92.6);
Tailwind
colors: {
  custom: {
    50: '#f1d587',
    500: '#e6c451',
    950: '#000000',
  },
}
SCSS
$custom: #e6c451;
$custom-light: #f1d587;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c451",
  "rgb": {
    "r": 230,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 46.309,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82854,
    "c": 0.13724,
    "h": 92.6
  },
  "luminance": 0.56897
}

Semantic roles & 50–950 ramp

primary
#E6C451
secondary
#344EA7
accent
#3CD70E
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6C451

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

Preview Lab → · Contrast checker → · Palette generator →

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