#E7D05B#E7D05B

#E7D05B is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.5% C 0.138 H 98.2°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#E7D05B
RGBrgb(231, 208, 91)
HSLhsl(50, 74%, 63%)
HSVhsv(50, 61%, 91%)
CMYKcmyk(0%, 10%, 60.6%, 9.4%)
CIE-LABlab(83.37, -5.68, 59.55)
CIE-LCHlch(83.37, 59.82, 95.44°)
OKLaboklab(85.47% -0.0198 0.1368)
OKLCHoklch(85.47% 0.138 98.2)
XYZxyz(57.4015, 62.8586, 19.0048)
Luminance0.6286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D05B #5B72E7
analogous
#E78A5B #E7D05B #B8E75B
triadic
#E7D05B #5BE7D0 #D05BE7
tetradic
#E7D05B #5BE78A #5B72E7 #E75BB8
square
#E7D05B #5BE78A #5B72E7 #E75BB8
split-complementary
#E7D05B #5BB8E7 #8A5BE7
monochromatic
#AE9619 #DFC126 #E7D05B #EFDF90 #F7EFC6

Accessibility & contrast

On white

1.55
#E7D05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#E7D05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D05B
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D05B#FFFFFF#000000##000000
##E7D05B1.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4E
Deuteranopia (green-blind)
#E9D361
Tritanopia (blue-blind)
#F8C2B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e7d05b;
/* rgb */ color: rgb(231, 208, 91);
/* oklch */ color: oklch(85.5% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#f2de8e',
    500: '#e7d05b',
    950: '#000000',
  },
}
SCSS
$custom: #e7d05b;
$custom-light: #f2de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d05b",
  "rgb": {
    "r": 231,
    "g": 208,
    "b": 91
  },
  "hsl": {
    "h": 50.143,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.8547,
    "c": 0.13822,
    "h": 98.2
  },
  "luminance": 0.62856
}

Semantic roles & 50–950 ramp

primary
#E7D05B
secondary
#374BAF
accent
#30D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D05B

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

Preview Lab → · Contrast checker → · Palette generator →

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