#E6CA54#E6CA54

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

Color values

HEX#E6CA54
RGBrgb(230, 202, 84)
HSLhsl(48, 74%, 62%)
HSVhsv(48, 63%, 90%)
CMYKcmyk(0%, 12.2%, 63.5%, 9.8%)
CIE-LABlab(81.68, -3.47, 60.73)
CIE-LCHlch(81.68, 60.83, 93.27°)
OKLaboklab(84.09% -0.0142 0.1384)
OKLCHoklch(84.09% 0.139 95.9)
XYZxyz(55.3564, 59.7069, 16.9946)
Luminance0.5970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CA54 #5470E6
analogous
#E68154 #E6CA54 #B9E654
triadic
#E6CA54 #54E6CA #CA54E6
tetradic
#E6CA54 #54E681 #5470E6 #E654B9
square
#E6CA54 #54E681 #5470E6 #E654B9
split-complementary
#E6CA54 #54B9E6 #8154E6
monochromatic
#A78C18 #DDB820 #E6CA54 #EEDB89 #F6EBBF

Accessibility & contrast

On white

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

On black

12.94
#E6CA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CA54
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CA54#FFFFFF#000000##000000
##E6CA541.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC646
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#F7BCB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e6ca54;
/* rgb */ color: rgb(230, 202, 84);
/* oklch */ color: oklch(84.1% 0.139 95.9);
Tailwind
colors: {
  custom: {
    50: '#f1d989',
    500: '#e6ca54',
    950: '#000000',
  },
}
SCSS
$custom: #e6ca54;
$custom-light: #f1d989;
$custom-dark: #000000;
JSON
{
  "hex": "#e6ca54",
  "rgb": {
    "r": 230,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 48.493,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84092,
    "c": 0.13908,
    "h": 95.9
  },
  "luminance": 0.59704
}

Semantic roles & 50–950 ramp

primary
#E6CA54
secondary
#354BA9
accent
#35D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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