#E7D062#E7D062

#E7D062 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.5% C 0.132 H 97.6°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#E7D062
RGBrgb(231, 208, 98)
HSLhsl(50, 73%, 65%)
HSVhsv(50, 58%, 91%)
CMYKcmyk(0%, 10%, 57.6%, 9.4%)
CIE-LABlab(83.43, -5.19, 56.49)
CIE-LCHlch(83.43, 56.73, 95.25°)
OKLaboklab(85.54% -0.0176 0.1311)
OKLCHoklch(85.54% 0.132 97.6)
XYZxyz(57.7177, 62.9850, 20.6700)
Luminance0.6298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D062 #6279E7
analogous
#E78E62 #E7D062 #BCE762
triadic
#E7D062 #62E7D0 #D062E7
tetradic
#E7D062 #62E78E #6279E7 #E762BC
square
#E7D062 #62E78E #6279E7 #E762BC
split-complementary
#E7D062 #62BCE7 #8E62E7
monochromatic
#B3991B #DFC02D #E7D062 #EFE097 #F7F0CC

Accessibility & contrast

On white

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

On black

13.60
#E7D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D062
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D062#FFFFFF#000000##000000
##E7D0621.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d062;
/* rgb */ color: rgb(231, 208, 98);
/* oklch */ color: oklch(85.5% 0.132 97.6);
Tailwind
colors: {
  custom: {
    50: '#f1de92',
    500: '#e7d062',
    950: '#000000',
  },
}
SCSS
$custom: #e7d062;
$custom-light: #f1de92;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d062",
  "rgb": {
    "r": 231,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 49.624,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85544,
    "c": 0.1323,
    "h": 97.6
  },
  "luminance": 0.62983
}

Semantic roles & 50–950 ramp

primary
#E7D062
secondary
#3A4FB4
accent
#32D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D062

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

Preview Lab → · Contrast checker → · Palette generator →

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