#E7D256#E7D256

#E7D256 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.8% C 0.144 H 99.7°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#E7D256
RGBrgb(231, 210, 86)
HSLhsl(51, 75%, 62%)
HSVhsv(51, 63%, 91%)
CMYKcmyk(0%, 9.1%, 62.8%, 9.4%)
CIE-LABlab(83.84, -7.01, 62.23)
CIE-LCHlch(83.84, 62.62, 96.43°)
OKLaboklab(85.83% -0.0242 0.1418)
OKLCHoklch(85.83% 0.144 99.7)
XYZxyz(57.6837, 63.7565, 18.0701)
Luminance0.6375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D256 #566BE7
analogous
#E78956 #E7D256 #B4E756
triadic
#E7D256 #56E7D2 #D256E7
tetradic
#E7D256 #56E789 #566BE7 #E756B4
square
#E7D256 #56E789 #566BE7 #E756B4
split-complementary
#E7D256 #56B4E7 #8956E7
monochromatic
#AA9518 #DFC420 #E7D256 #EFE08C #F6EFC1

Accessibility & contrast

On white

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

On black

13.75
#E7D256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D256
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D256#FFFFFF#000000##000000
##E7D2561.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD47
Deuteranopia (green-blind)
#EBD45D
Tritanopia (blue-blind)
#F8C4B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d256;
/* rgb */ color: rgb(231, 210, 86);
/* oklch */ color: oklch(85.8% 0.144 99.7);
Tailwind
colors: {
  custom: {
    50: '#f2df8b',
    500: '#e7d256',
    950: '#000000',
  },
}
SCSS
$custom: #e7d256;
$custom-light: #f2df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d256",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 51.31,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85829,
    "c": 0.14384,
    "h": 99.7
  },
  "luminance": 0.63754
}

Semantic roles & 50–950 ramp

primary
#E7D256
secondary
#3547AC
accent
#2BD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D256

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

Preview Lab → · Contrast checker → · Palette generator →

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