#E8CA45#E8CA45

#E8CA45 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.2% C 0.150 H 96.1°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#E8CA45
RGBrgb(232, 202, 69)
HSLhsl(49, 78%, 59%)
HSVhsv(49, 70%, 91%)
CMYKcmyk(0%, 12.9%, 70.3%, 9%)
CIE-LABlab(81.75, -3.46, 66.97)
CIE-LCHlch(81.75, 67.06, 92.96°)
OKLaboklab(84.15% -0.016 0.1491)
OKLCHoklch(84.15% 0.15 96.1)
XYZxyz(55.4762, 59.8294, 14.2552)
Luminance0.5983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CA45 #4563E8
analogous
#E87945 #E8CA45 #B5E845
triadic
#E8CA45 #45E8CA #CA45E8
tetradic
#E8CA45 #45E879 #4563E8 #E845B5
square
#E8CA45 #45E879 #4563E8 #E845B5
split-complementary
#E8CA45 #45B5E8 #7945E8
monochromatic
#9F8514 #D5B31A #E8CA45 #EFDA7B #F5E9B2

Accessibility & contrast

On white

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

On black

12.97
#E8CA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CA45
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CA45#FFFFFF#000000##000000
##E8CA451.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC631
Deuteranopia (green-blind)
#E6CF4D
Tritanopia (blue-blind)
#FABBAF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e8ca45;
/* rgb */ color: rgb(232, 202, 69);
/* oklch */ color: oklch(84.2% 0.150 96.1);
Tailwind
colors: {
  custom: {
    50: '#f3d980',
    500: '#e8ca45',
    950: '#000000',
  },
}
SCSS
$custom: #e8ca45;
$custom-light: #f3d980;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ca45",
  "rgb": {
    "r": 232,
    "g": 202,
    "b": 69
  },
  "hsl": {
    "h": 48.957,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84151,
    "c": 0.14994,
    "h": 96.1
  },
  "luminance": 0.59827
}

Semantic roles & 50–950 ramp

primary
#E8CA45
secondary
#2F45A2
accent
#57F433
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E8CA45

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

Preview Lab → · Contrast checker → · Palette generator →

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