#E6C151#E6C151

#E6C151 is a very light, vivid yellow. Relative luminance 0.556; OKLCH L 82.3% C 0.135 H 90.7°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#E6C151
RGBrgb(230, 193, 81)
HSLhsl(45, 75%, 61%)
HSVhsv(45, 65%, 90%)
CMYKcmyk(0%, 16.1%, 64.8%, 9.8%)
CIE-LABlab(79.36, 0.99, 59.53)
CIE-LCHlch(79.36, 59.54, 89.05°)
OKLaboklab(82.25% -0.0017 0.1354)
OKLCHoklch(82.25% 0.135 90.7)
XYZxyz(53.1910, 55.5600, 15.7055)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C151 #5176E6
analogous
#E67651 #E6C151 #C0E651
triadic
#E6C151 #51E6C1 #C151E6
tetradic
#E6C151 #51E676 #5176E6 #E651C0
square
#E6C151 #51E676 #5176E6 #E651C0
split-complementary
#E6C151 #51C0E6 #7651E6
monochromatic
#A58218 #DAAC1F #E6C151 #EED487 #F5E7BC

Accessibility & contrast

On white

1.73
#E6C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#E6C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C151
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C151#FFFFFF#000000##000000
##E6C1511.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF44
Deuteranopia (green-blind)
#DEC956
Tritanopia (blue-blind)
#F8B2A9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e6c151;
/* rgb */ color: rgb(230, 193, 81);
/* oklch */ color: oklch(82.3% 0.135 90.7);
Tailwind
colors: {
  custom: {
    50: '#f2d387',
    500: '#e6c151',
    950: '#000000',
  },
}
SCSS
$custom: #e6c151;
$custom-light: #f2d387;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c151",
  "rgb": {
    "r": 230,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 45.101,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82254,
    "c": 0.13537,
    "h": 90.7
  },
  "luminance": 0.55557
}

Semantic roles & 50–950 ramp

primary
#E6C151
secondary
#3451A7
accent
#40D70E
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6C151

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

Preview Lab → · Contrast checker → · Palette generator →

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