#E6D97E#E6D97E

#E6D97E is a very light, moderate yellow. Relative luminance 0.680; OKLCH L 87.6% C 0.113 H 101.2°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#E6D97E
RGBrgb(230, 217, 126)
HSLhsl(53, 68%, 70%)
HSVhsv(53, 45%, 90%)
CMYKcmyk(0%, 5.7%, 45.2%, 9.8%)
CIE-LABlab(85.98, -7.80, 46.24)
CIE-LCHlch(85.98, 46.89, 99.58°)
OKLaboklab(87.65% -0.0221 0.1112)
OKLCHoklch(87.65% 0.113 101.2)
XYZxyz(61.2134, 67.9570, 29.6271)
Luminance0.6795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D97E #7E8BE6
analogous
#E6A57E #E6D97E #BFE67E
triadic
#E6D97E #7EE6D9 #D97EE6
tetradic
#E6D97E #7EE6A5 #7E8BE6 #E67EBF
square
#E6D97E #7EE6A5 #7E8BE6 #E67EBF
split-complementary
#E6D97E #7EBFE6 #A57EE6
monochromatic
#C4B026 #DCCA4B #E6D97E #F0E8B1 #FAF7E5

Accessibility & contrast

On white

1.44
#E6D97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#E6D97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D97E
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D97E#FFFFFF#000000##000000
##E6D97E1.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D477
Deuteranopia (green-blind)
#ECDA82
Tritanopia (blue-blind)
#F4CEC3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e6d97e;
/* rgb */ color: rgb(230, 217, 126);
/* oklch */ color: oklch(87.6% 0.113 101.2);
Tailwind
colors: {
  custom: {
    50: '#f0e4a5',
    500: '#e6d97e',
    950: '#000000',
  },
}
SCSS
$custom: #e6d97e;
$custom-light: #f0e4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d97e",
  "rgb": {
    "r": 230,
    "g": 217,
    "b": 126
  },
  "hsl": {
    "h": 52.5,
    "s": 67.532,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87648,
    "c": 0.11338,
    "h": 101.2
  },
  "luminance": 0.67955
}

Semantic roles & 50–950 ramp

primary
#E6D97E
secondary
#4A59BE
accent
#2DCF16
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E6D97E

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

Preview Lab → · Contrast checker → · Palette generator →

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