#E2D262#E2D262

#E2D262 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.5% C 0.134 H 101.3°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#E2D262
RGBrgb(226, 210, 98)
HSLhsl(53, 69%, 64%)
HSVhsv(53, 57%, 89%)
CMYKcmyk(0%, 7.1%, 56.6%, 11.4%)
CIE-LABlab(83.52, -8.26, 56.47)
CIE-LCHlch(83.52, 57.08, 98.32°)
OKLaboklab(85.51% -0.0261 0.1312)
OKLCHoklch(85.51% 0.134 101.3)
XYZxyz(56.6172, 63.1459, 20.7590)
Luminance0.6314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D262 #6272E2
analogous
#E29262 #E2D262 #B2E262
triadic
#E2D262 #62E2D2 #D262E2
tetradic
#E2D262 #62E292 #6272E2 #E262B2
square
#E2D262 #62E292 #6272E2 #E262B2
split-complementary
#E2D262 #62B2E2 #9262E2
monochromatic
#AA991F #D8C32E #E2D262 #ECE196 #F5F0C9

Accessibility & contrast

On white

1.54
#E2D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#E2D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D262
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D262#FFFFFF#000000##000000
##E2D2621.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#E8D367
Tritanopia (blue-blind)
#F1C5B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e2d262;
/* rgb */ color: rgb(226, 210, 98);
/* oklch */ color: oklch(85.5% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#eedf92',
    500: '#e2d262',
    950: '#000000',
  },
}
SCSS
$custom: #e2d262;
$custom-light: #eedf92;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d262",
  "rgb": {
    "r": 226,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 52.5,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85509,
    "c": 0.13376,
    "h": 101.3
  },
  "luminance": 0.63144
}

Semantic roles & 50–950 ramp

primary
#E2D262
secondary
#3C4AAC
accent
#2CD115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D262

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

Preview Lab → · Contrast checker → · Palette generator →

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