#E8D262#E8D262

#E8D262 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.0% C 0.134 H 98.3°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#E8D262
RGBrgb(232, 210, 98)
HSLhsl(50, 74%, 65%)
HSVhsv(50, 58%, 91%)
CMYKcmyk(0%, 9.5%, 57.8%, 9%)
CIE-LABlab(84.04, -5.79, 57.20)
CIE-LCHlch(84.04, 57.49, 95.78°)
OKLaboklab(86.04% -0.0194 0.1326)
OKLCHoklch(86.04% 0.134 98.3)
XYZxyz(58.5322, 64.1333, 20.8487)
Luminance0.6413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D262 #6278E8
analogous
#E88F62 #E8D262 #BBE862
triadic
#E8D262 #62E8D2 #D262E8
tetradic
#E8D262 #62E88F #6278E8 #E862BB
square
#E8D262 #62E88F #6278E8 #E862BB
split-complementary
#E8D262 #62BBE8 #8F62E8
monochromatic
#B59C1B #E0C32D #E8D262 #F0E197 #F8F1CD

Accessibility & contrast

On white

1.52
#E8D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#E8D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D262
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D262#FFFFFF#000000##000000
##E8D2621.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD57
Deuteranopia (green-blind)
#EAD567
Tritanopia (blue-blind)
#F8C4B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e8d262;
/* rgb */ color: rgb(232, 210, 98);
/* oklch */ color: oklch(86.0% 0.134 98.3);
Tailwind
colors: {
  custom: {
    50: '#f2df92',
    500: '#e8d262',
    950: '#000000',
  },
}
SCSS
$custom: #e8d262;
$custom-light: #f2df92;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d262",
  "rgb": {
    "r": 232,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 50.149,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86041,
    "c": 0.13402,
    "h": 98.3
  },
  "luminance": 0.64131
}

Semantic roles & 50–950 ramp

primary
#E8D262
secondary
#394DB5
accent
#30D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D262

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

Preview Lab → · Contrast checker → · Palette generator →

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