#E6CD51#E6CD51

#E6CD51 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.7% C 0.144 H 97.8°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#E6CD51
RGBrgb(230, 205, 81)
HSLhsl(50, 75%, 61%)
HSVhsv(50, 65%, 90%)
CMYKcmyk(0%, 10.9%, 64.8%, 9.8%)
CIE-LABlab(82.42, -5.19, 62.80)
CIE-LCHlch(82.42, 63.01, 94.72°)
OKLaboklab(84.67% -0.0195 0.1423)
OKLCHoklch(84.67% 0.144 97.8)
XYZxyz(55.9521, 61.0824, 16.6259)
Luminance0.6108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CD51 #516AE6
analogous
#E68251 #E6CD51 #B4E651
triadic
#E6CD51 #51E6CD #CD51E6
tetradic
#E6CD51 #51E682 #516AE6 #E651B4
square
#E6CD51 #51E682 #516AE6 #E651B4
split-complementary
#E6CD51 #51B4E6 #8251E6
monochromatic
#A58D18 #DABB1F #E6CD51 #EEDC87 #F5ECBC

Accessibility & contrast

On white

1.59
#E6CD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#E6CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CD51
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CD51#FFFFFF#000000##000000
##E6CD511.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C842
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#F7BFB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e6cd51;
/* rgb */ color: rgb(230, 205, 81);
/* oklch */ color: oklch(84.7% 0.144 97.8);
Tailwind
colors: {
  custom: {
    50: '#f1db87',
    500: '#e6cd51',
    950: '#000000',
  },
}
SCSS
$custom: #e6cd51;
$custom-light: #f1db87;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cd51",
  "rgb": {
    "r": 230,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 49.933,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84673,
    "c": 0.14362,
    "h": 97.8
  },
  "luminance": 0.6108
}

Semantic roles & 50–950 ramp

primary
#E6CD51
secondary
#3447A7
accent
#30D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E6CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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