#E4D262#E4D262

#E4D262 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.7% C 0.134 H 100.3°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#E4D262
RGBrgb(228, 210, 98)
HSLhsl(52, 71%, 64%)
HSVhsv(52, 57%, 89%)
CMYKcmyk(0%, 7.9%, 57%, 10.6%)
CIE-LABlab(83.69, -7.44, 56.71)
CIE-LCHlch(83.69, 57.20, 97.47°)
OKLaboklab(85.69% -0.0239 0.1317)
OKLCHoklch(85.69% 0.134 100.3)
XYZxyz(57.2482, 63.4713, 20.7885)
Luminance0.6347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D262 #6274E4
analogous
#E49162 #E4D262 #B5E462
triadic
#E4D262 #62E4D2 #D262E4
tetradic
#E4D262 #62E491 #6274E4 #E462B5
square
#E4D262 #62E491 #6274E4 #E462B5
split-complementary
#E4D262 #62B5E4 #9162E4
monochromatic
#AE9A1E #DBC32E #E4D262 #EDE196 #F6F0CA

Accessibility & contrast

On white

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

On black

13.69
#E4D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D262
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D262#FFFFFF#000000##000000
##E4D2621.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD57
Deuteranopia (green-blind)
#E9D467
Tritanopia (blue-blind)
#F4C5B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e4d262;
/* rgb */ color: rgb(228, 210, 98);
/* oklch */ color: oklch(85.7% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#efdf92',
    500: '#e4d262',
    950: '#000000',
  },
}
SCSS
$custom: #e4d262;
$custom-light: #efdf92;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d262",
  "rgb": {
    "r": 228,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 51.692,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85685,
    "c": 0.13381,
    "h": 100.3
  },
  "luminance": 0.63469
}

Semantic roles & 50–950 ramp

primary
#E4D262
secondary
#3B4BAF
accent
#2DD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D262

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

Preview Lab → · Contrast checker → · Palette generator →

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