#E6CA51#E6CA51

#E6CA51 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.1% C 0.141 H 96.1°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#E6CA51
RGBrgb(230, 202, 81)
HSLhsl(49, 75%, 61%)
HSVhsv(49, 65%, 90%)
CMYKcmyk(0%, 12.2%, 64.8%, 9.8%)
CIE-LABlab(81.65, -3.66, 61.98)
CIE-LCHlch(81.65, 62.09, 93.38°)
OKLaboklab(84.06% -0.0151 0.1406)
OKLCHoklch(84.06% 0.141 96.1)
XYZxyz(55.2414, 59.6609, 16.3890)
Luminance0.5966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CA51 #516DE6
analogous
#E67F51 #E6CA51 #B7E651
triadic
#E6CA51 #51E6CA #CA51E6
tetradic
#E6CA51 #51E67F #516DE6 #E651B7
square
#E6CA51 #51E67F #516DE6 #E651B7
split-complementary
#E6CA51 #51B7E6 #7F51E6
monochromatic
#A58A18 #DAB71F #E6CA51 #EEDA87 #F5EBBC

Accessibility & contrast

On white

1.62
#E6CA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#E6CA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CA51
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CA51#FFFFFF#000000##000000
##E6CA511.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC642
Deuteranopia (green-blind)
#E5CF57
Tritanopia (blue-blind)
#F7BBB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e6ca51;
/* rgb */ color: rgb(230, 202, 81);
/* oklch */ color: oklch(84.1% 0.141 96.1);
Tailwind
colors: {
  custom: {
    50: '#f1d987',
    500: '#e6ca51',
    950: '#000000',
  },
}
SCSS
$custom: #e6ca51;
$custom-light: #f1d987;
$custom-dark: #000000;
JSON
{
  "hex": "#e6ca51",
  "rgb": {
    "r": 230,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 48.725,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84064,
    "c": 0.14137,
    "h": 96.1
  },
  "luminance": 0.59658
}

Semantic roles & 50–950 ramp

primary
#E6CA51
secondary
#344AA7
accent
#34D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6CA51

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

Preview Lab → · Contrast checker → · Palette generator →

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