#E6CA45#E6CA45

#E6CA45 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 84.0% C 0.150 H 97.0°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#E6CA45
RGBrgb(230, 202, 69)
HSLhsl(50, 76%, 59%)
HSVhsv(50, 70%, 90%)
CMYKcmyk(0%, 12.2%, 70%, 9.8%)
CIE-LABlab(81.56, -4.31, 66.73)
CIE-LCHlch(81.56, 66.87, 93.69°)
OKLaboklab(83.96% -0.0183 0.1486)
OKLCHoklch(83.96% 0.15 97)
XYZxyz(54.8305, 59.4965, 14.2250)
Luminance0.5949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CA45 #4561E6
analogous
#E67945 #E6CA45 #B1E645
triadic
#E6CA45 #45E6CA #CA45E6
tetradic
#E6CA45 #45E679 #4561E6 #E645B1
square
#E6CA45 #45E679 #4561E6 #E645B1
split-complementary
#E6CA45 #45B1E6 #7945E6
monochromatic
#9C8415 #D2B21C #E6CA45 #EDD97B #F5E9B1

Accessibility & contrast

On white

1.63
#E6CA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#E6CA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CA45
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CA45#FFFFFF#000000##000000
##E6CA451.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC531
Deuteranopia (green-blind)
#E5CF4D
Tritanopia (blue-blind)
#F8BBAF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e6ca45;
/* rgb */ color: rgb(230, 202, 69);
/* oklch */ color: oklch(84.0% 0.150 97.0);
Tailwind
colors: {
  custom: {
    50: '#f2d980',
    500: '#e6ca45',
    950: '#000000',
  },
}
SCSS
$custom: #e6ca45;
$custom-light: #f2d980;
$custom-dark: #000000;
JSON
{
  "hex": "#e6ca45",
  "rgb": {
    "r": 230,
    "g": 202,
    "b": 69
  },
  "hsl": {
    "h": 49.565,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83964,
    "c": 0.14976,
    "h": 97
  },
  "luminance": 0.59494
}

Semantic roles & 50–950 ramp

primary
#E6CA45
secondary
#30449F
accent
#56F335
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E6CA45

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

Preview Lab → · Contrast checker → · Palette generator →

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