#E6D45F#E6D45F

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

Color values

HEX#E6D45F
RGBrgb(230, 212, 95)
HSLhsl(52, 73%, 64%)
HSVhsv(52, 59%, 90%)
CMYKcmyk(0%, 7.8%, 58.7%, 9.8%)
CIE-LABlab(84.35, -7.84, 58.85)
CIE-LCHlch(84.35, 59.37, 97.59°)
OKLaboklab(86.24% -0.0255 0.1358)
OKLCHoklch(86.24% 0.138 100.6)
XYZxyz(58.2443, 64.7385, 20.2520)
Luminance0.6474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D45F #5F71E6
analogous
#E6905F #E6D45F #B4E65F
triadic
#E6D45F #5FE6D4 #D45FE6
tetradic
#E6D45F #5FE690 #5F71E6 #E65FB4
square
#E6D45F #5FE690 #5F71E6 #E65FB4
split-complementary
#E6D45F #5FB4E6 #905FE6
monochromatic
#AF9C1B #DEC62A #E6D45F #EEE294 #F7F0C9

Accessibility & contrast

On white

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

On black

13.95
#E6D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D45F
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D45F#FFFFFF#000000##000000
##E6D45F1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e6d45f;
/* rgb */ color: rgb(230, 212, 95);
/* oklch */ color: oklch(86.2% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#f1e090',
    500: '#e6d45f',
    950: '#000000',
  },
}
SCSS
$custom: #e6d45f;
$custom-light: #f1e090;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d45f",
  "rgb": {
    "r": 230,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 52,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86239,
    "c": 0.1382,
    "h": 100.6
  },
  "luminance": 0.64736
}

Semantic roles & 50–950 ramp

primary
#E6D45F
secondary
#3949B0
accent
#2BD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E6D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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