#E7D262#E7D262

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

Color values

HEX#E7D262
RGBrgb(231, 210, 98)
HSLhsl(51, 73%, 65%)
HSVhsv(51, 58%, 91%)
CMYKcmyk(0%, 9.1%, 57.6%, 9.4%)
CIE-LABlab(83.95, -6.21, 57.08)
CIE-LCHlch(83.95, 57.41, 96.21°)
OKLaboklab(85.95% -0.0205 0.1324)
OKLCHoklch(85.95% 0.134 98.8)
XYZxyz(58.2084, 63.9664, 20.8336)
Luminance0.6396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D262 #6277E7
analogous
#E78F62 #E7D262 #BAE762
triadic
#E7D262 #62E7D2 #D262E7
tetradic
#E7D262 #62E78F #6277E7 #E762BA
square
#E7D262 #62E78F #6277E7 #E762BA
split-complementary
#E7D262 #62BAE7 #8F62E7
monochromatic
#B39B1B #DFC32D #E7D262 #EFE197 #F7F0CC

Accessibility & contrast

On white

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

On black

13.79
#E7D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D262
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D262#FFFFFF#000000##000000
##E7D2621.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d262;
/* rgb */ color: rgb(231, 210, 98);
/* oklch */ color: oklch(86.0% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#f1df92',
    500: '#e7d262',
    950: '#000000',
  },
}
SCSS
$custom: #e7d262;
$custom-light: #f1df92;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d262",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 50.526,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85951,
    "c": 0.13395,
    "h": 98.8
  },
  "luminance": 0.63964
}

Semantic roles & 50–950 ramp

primary
#E7D262
secondary
#3A4DB4
accent
#2FD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D262

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

Preview Lab → · Contrast checker → · Palette generator →

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