#E6D257#E6D257

#E6D257 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.7% C 0.143 H 100.1°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#E6D257
RGBrgb(230, 210, 87)
HSLhsl(52, 74%, 62%)
HSVhsv(52, 62%, 90%)
CMYKcmyk(0%, 8.7%, 62.2%, 9.8%)
CIE-LABlab(83.76, -7.37, 61.69)
CIE-LCHlch(83.76, 62.13, 96.81°)
OKLaboklab(85.75% -0.025 0.1408)
OKLCHoklch(85.75% 0.143 100.1)
XYZxyz(57.4023, 63.6068, 18.2687)
Luminance0.6360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D257 #576BE6
analogous
#E68A57 #E6D257 #B3E657
triadic
#E6D257 #57E6D2 #D257E6
tetradic
#E6D257 #57E68A #576BE6 #E657B3
square
#E6D257 #57E68A #576BE6 #E657B3
split-complementary
#E6D257 #57B3E6 #8A57E6
monochromatic
#A99519 #DEC422 #E6D257 #EEE08C #F6EFC2

Accessibility & contrast

On white

1.53
#E6D257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#E6D257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D257
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D257#FFFFFF#000000##000000
##E6D2571.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#EAD45D
Tritanopia (blue-blind)
#F7C4B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e6d257;
/* rgb */ color: rgb(230, 210, 87);
/* oklch */ color: oklch(85.7% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#f1df8b',
    500: '#e6d257',
    950: '#000000',
  },
}
SCSS
$custom: #e6d257;
$custom-light: #f1df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d257",
  "rgb": {
    "r": 230,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 51.608,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85749,
    "c": 0.14303,
    "h": 100.1
  },
  "luminance": 0.63604
}

Semantic roles & 50–950 ramp

primary
#E6D257
secondary
#3647AB
accent
#2BD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E6D257

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

Preview Lab → · Contrast checker → · Palette generator →

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