#E6C845#E6C845

#E6C845 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.6% C 0.148 H 96.0°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#E6C845
RGBrgb(230, 200, 69)
HSLhsl(49, 76%, 59%)
HSVhsv(49, 70%, 90%)
CMYKcmyk(0%, 13%, 70%, 9.8%)
CIE-LABlab(81.05, -3.28, 66.22)
CIE-LCHlch(81.05, 66.30, 92.84°)
OKLaboklab(83.56% -0.0154 0.1476)
OKLCHoklch(83.56% 0.148 96)
XYZxyz(54.3643, 58.5641, 14.0696)
Luminance0.5856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C845 #4563E6
analogous
#E67745 #E6C845 #B3E645
triadic
#E6C845 #45E6C8 #C845E6
tetradic
#E6C845 #45E677 #4563E6 #E645B3
square
#E6C845 #45E677 #4563E6 #E645B3
split-complementary
#E6C845 #45B3E6 #7745E6
monochromatic
#9C8315 #D2B01C #E6C845 #EDD87B #F5E8B1

Accessibility & contrast

On white

1.65
#E6C845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#E6C845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C845
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C845#FFFFFF#000000##000000
##E6C8451.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC432
Deuteranopia (green-blind)
#E4CD4C
Tritanopia (blue-blind)
#F8B9AE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e6c845;
/* rgb */ color: rgb(230, 200, 69);
/* oklch */ color: oklch(83.6% 0.148 96.0);
Tailwind
colors: {
  custom: {
    50: '#f2d880',
    500: '#e6c845',
    950: '#000000',
  },
}
SCSS
$custom: #e6c845;
$custom-light: #f2d880;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c845",
  "rgb": {
    "r": 230,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 48.82,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83559,
    "c": 0.14836,
    "h": 96
  },
  "luminance": 0.58561
}

Semantic roles & 50–950 ramp

primary
#E6C845
secondary
#30459F
accent
#58F335
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E6C845

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

Preview Lab → · Contrast checker → · Palette generator →

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