#E6CA52#E6CA52

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

Color values

HEX#E6CA52
RGBrgb(230, 202, 82)
HSLhsl(49, 75%, 61%)
HSVhsv(49, 64%, 90%)
CMYKcmyk(0%, 12.2%, 64.3%, 9.8%)
CIE-LABlab(81.66, -3.60, 61.57)
CIE-LCHlch(81.66, 61.67, 93.34°)
OKLaboklab(84.07% -0.0148 0.1398)
OKLCHoklch(84.07% 0.141 96)
XYZxyz(55.2792, 59.6760, 16.5879)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CA52 #526EE6
analogous
#E68052 #E6CA52 #B8E652
triadic
#E6CA52 #52E6CA #CA52E6
tetradic
#E6CA52 #52E680 #526EE6 #E652B8
square
#E6CA52 #52E680 #526EE6 #E652B8
split-complementary
#E6CA52 #52B8E6 #8052E6
monochromatic
#A68B18 #DBB820 #E6CA52 #EEDA87 #F5EBBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E6CA52#FFFFFF#000000##000000
##E6CA521.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)
#DDC644
Deuteranopia (green-blind)
#E5CF58
Tritanopia (blue-blind)
#F7BCB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e6ca52;
/* rgb */ color: rgb(230, 202, 82);
/* oklch */ color: oklch(84.1% 0.141 96.0);
Tailwind
colors: {
  custom: {
    50: '#f1d988',
    500: '#e6ca52',
    950: '#000000',
  },
}
SCSS
$custom: #e6ca52;
$custom-light: #f1d988;
$custom-dark: #000000;
JSON
{
  "hex": "#e6ca52",
  "rgb": {
    "r": 230,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 48.649,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84073,
    "c": 0.14061,
    "h": 96
  },
  "luminance": 0.59673
}

Semantic roles & 50–950 ramp

primary
#E6CA52
secondary
#344AA8
accent
#34D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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