#E6D45B#E6D45B

#E6D45B is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.2% C 0.142 H 100.9°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#E6D45B
RGBrgb(230, 212, 91)
HSLhsl(52, 74%, 63%)
HSVhsv(52, 60%, 90%)
CMYKcmyk(0%, 7.8%, 60.4%, 9.8%)
CIE-LABlab(84.31, -8.12, 60.57)
CIE-LCHlch(84.31, 61.11, 97.63°)
OKLaboklab(86.2% -0.0267 0.139)
OKLCHoklch(86.2% 0.142 100.9)
XYZxyz(58.0672, 64.6677, 19.3189)
Luminance0.6466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D45B #5B6DE6
analogous
#E68E5B #E6D45B #B3E65B
triadic
#E6D45B #5BE6D4 #D45BE6
tetradic
#E6D45B #5BE68E #5B6DE6 #E65BB3
square
#E6D45B #5BE68E #5B6DE6 #E65BB3
split-complementary
#E6D45B #5BB3E6 #8E5BE6
monochromatic
#AC991A #DEC626 #E6D45B #EEE290 #F6F0C5

Accessibility & contrast

On white

1.51
#E6D45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#E6D45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D45B
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D45B#FFFFFF#000000##000000
##E6D45B1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4E
Deuteranopia (green-blind)
#EBD661
Tritanopia (blue-blind)
#F6C6BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e6d45b;
/* rgb */ color: rgb(230, 212, 91);
/* oklch */ color: oklch(86.2% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#f1e08e',
    500: '#e6d45b',
    950: '#000000',
  },
}
SCSS
$custom: #e6d45b;
$custom-light: #f1e08e;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d45b",
  "rgb": {
    "r": 230,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 52.23,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.86198,
    "c": 0.14153,
    "h": 100.9
  },
  "luminance": 0.64665
}

Semantic roles & 50–950 ramp

primary
#E6D45B
secondary
#3847AE
accent
#29D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E6D45B

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

Preview Lab → · Contrast checker → · Palette generator →

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