#E8D268#E8D268

#E8D268 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 86.1% C 0.129 H 97.8°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#E8D268
RGBrgb(232, 210, 104)
HSLhsl(50, 74%, 66%)
HSVhsv(50, 55%, 91%)
CMYKcmyk(0%, 9.5%, 55.2%, 9%)
CIE-LABlab(84.10, -5.35, 54.52)
CIE-LCHlch(84.10, 54.78, 95.60°)
OKLaboklab(86.11% -0.0174 0.1275)
OKLCHoklch(86.11% 0.129 97.8)
XYZxyz(58.8261, 64.2509, 22.3970)
Luminance0.6425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D268 #687EE8
analogous
#E89268 #E8D268 #BEE868
triadic
#E8D268 #68E8D2 #D268E8
tetradic
#E8D268 #68E892 #687EE8 #E868BE
square
#E8D268 #68E892 #687EE8 #E868BE
split-complementary
#E8D268 #68BEE8 #9268E8
monochromatic
#B99E1C #E0C233 #E8D268 #F0E29D #F8F2D2

Accessibility & contrast

On white

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

On black

13.85
#E8D268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D268
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D268#FFFFFF#000000##000000
##E8D2681.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD5E
Deuteranopia (green-blind)
#EAD56D
Tritanopia (blue-blind)
#F8C5BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e8d268;
/* rgb */ color: rgb(232, 210, 104);
/* oklch */ color: oklch(86.1% 0.129 97.8);
Tailwind
colors: {
  custom: {
    50: '#f2df96',
    500: '#e8d268',
    950: '#000000',
  },
}
SCSS
$custom: #e8d268;
$custom-light: #f2df96;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d268",
  "rgb": {
    "r": 232,
    "g": 210,
    "b": 104
  },
  "hsl": {
    "h": 49.688,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86109,
    "c": 0.1287,
    "h": 97.8
  },
  "luminance": 0.64248
}

Semantic roles & 50–950 ramp

primary
#E8D268
secondary
#3B51B9
accent
#32D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D268

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

Preview Lab → · Contrast checker → · Palette generator →

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