#E8D273#E8D273

#E8D273 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.2% C 0.118 H 96.6°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#E8D273
RGBrgb(232, 210, 115)
HSLhsl(49, 72%, 68%)
HSVhsv(49, 50%, 91%)
CMYKcmyk(0%, 9.5%, 50.4%, 9%)
CIE-LABlab(84.22, -4.45, 49.46)
CIE-LCHlch(84.22, 49.66, 95.14°)
OKLaboklab(86.25% -0.0136 0.1175)
OKLCHoklch(86.25% 0.118 96.6)
XYZxyz(59.4218, 64.4892, 25.5340)
Luminance0.6449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D273 #7389E8
analogous
#E89773 #E8D273 #C3E873
triadic
#E8D273 #73E8D2 #D273E8
tetradic
#E8D273 #73E897 #7389E8 #E873C3
square
#E8D273 #73E897 #7389E8 #E873C3
split-complementary
#E8D273 #73C3E8 #9773E8
monochromatic
#C1A320 #DFC13E #E8D273 #F1E3A8 #F9F4DC

Accessibility & contrast

On white

1.51
#E8D273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#E8D273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D273
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D273#FFFFFF#000000##000000
##E8D2731.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6B
Deuteranopia (green-blind)
#E9D577
Tritanopia (blue-blind)
#F7C6BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e8d273;
/* rgb */ color: rgb(232, 210, 115);
/* oklch */ color: oklch(86.2% 0.118 96.6);
Tailwind
colors: {
  custom: {
    50: '#f1df9d',
    500: '#e8d273',
    950: '#000000',
  },
}
SCSS
$custom: #e8d273;
$custom-light: #f1df9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d273",
  "rgb": {
    "r": 232,
    "g": 210,
    "b": 115
  },
  "hsl": {
    "h": 48.718,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86247,
    "c": 0.1183,
    "h": 96.6
  },
  "luminance": 0.64487
}

Semantic roles & 50–950 ramp

primary
#E8D273
secondary
#4058C0
accent
#36D412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D273

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

Preview Lab → · Contrast checker → · Palette generator →

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