#E6CC45#E6CC45

#E6CC45 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.4% C 0.151 H 98.1°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#E6CC45
RGBrgb(230, 204, 69)
HSLhsl(50, 76%, 59%)
HSVhsv(50, 70%, 90%)
CMYKcmyk(0%, 11.3%, 70%, 9.8%)
CIE-LABlab(82.08, -5.33, 67.24)
CIE-LCHlch(82.08, 67.45, 94.53°)
OKLaboklab(84.37% -0.0212 0.1497)
OKLCHoklch(84.37% 0.151 98.1)
XYZxyz(55.3028, 60.4411, 14.3824)
Luminance0.6044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CC45 #455FE6
analogous
#E67B45 #E6CC45 #AFE645
triadic
#E6CC45 #45E6CC #CC45E6
tetradic
#E6CC45 #45E67B #455FE6 #E645AF
square
#E6CC45 #45E67B #455FE6 #E645AF
split-complementary
#E6CC45 #45AFE6 #7B45E6
monochromatic
#9C8615 #D2B41C #E6CC45 #EDDB7B #F5EAB1

Accessibility & contrast

On white

1.60
#E6CC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#E6CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CC45
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CC45#FFFFFF#000000##000000
##E6CC451.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C731
Deuteranopia (green-blind)
#E7D04D
Tritanopia (blue-blind)
#F8BDB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e6cc45;
/* rgb */ color: rgb(230, 204, 69);
/* oklch */ color: oklch(84.4% 0.151 98.1);
Tailwind
colors: {
  custom: {
    50: '#f2db80',
    500: '#e6cc45',
    950: '#000000',
  },
}
SCSS
$custom: #e6cc45;
$custom-light: #f2db80;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cc45",
  "rgb": {
    "r": 230,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 50.311,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84371,
    "c": 0.15122,
    "h": 98.1
  },
  "luminance": 0.60438
}

Semantic roles & 50–950 ramp

primary
#E6CC45
secondary
#30429F
accent
#54F335
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E6CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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