#E6C945#E6C945

#E6C945 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.8% C 0.149 H 96.5°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#E6C945
RGBrgb(230, 201, 69)
HSLhsl(49, 76%, 59%)
HSVhsv(49, 70%, 90%)
CMYKcmyk(0%, 12.6%, 70%, 9.8%)
CIE-LABlab(81.31, -3.79, 66.47)
CIE-LCHlch(81.31, 66.58, 93.27°)
OKLaboklab(83.76% -0.0168 0.1481)
OKLCHoklch(83.76% 0.149 96.5)
XYZxyz(54.5966, 59.0288, 14.1470)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C945 #4562E6
analogous
#E67845 #E6C945 #B2E645
triadic
#E6C945 #45E6C9 #C945E6
tetradic
#E6C945 #45E678 #4562E6 #E645B2
square
#E6C945 #45E678 #4562E6 #E645B2
split-complementary
#E6C945 #45B2E6 #7845E6
monochromatic
#9C8315 #D2B11C #E6C945 #EDD97B #F5E8B1

Accessibility & contrast

On white

1.64
#E6C945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#E6C945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C945
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C945#FFFFFF#000000##000000
##E6C9451.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC532
Deuteranopia (green-blind)
#E5CE4D
Tritanopia (blue-blind)
#F8BAAE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e6c945;
/* rgb */ color: rgb(230, 201, 69);
/* oklch */ color: oklch(83.8% 0.149 96.5);
Tailwind
colors: {
  custom: {
    50: '#f2d980',
    500: '#e6c945',
    950: '#000000',
  },
}
SCSS
$custom: #e6c945;
$custom-light: #f2d980;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c945",
  "rgb": {
    "r": 230,
    "g": 201,
    "b": 69
  },
  "hsl": {
    "h": 49.193,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83761,
    "c": 0.14905,
    "h": 96.5
  },
  "luminance": 0.59026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E6C945

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

Preview Lab → · Contrast checker → · Palette generator →

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