#E7D65B#E7D65B

#E7D65B is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.7% C 0.143 H 101.5°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#E7D65B
RGBrgb(231, 214, 91)
HSLhsl(53, 74%, 63%)
HSVhsv(53, 61%, 91%)
CMYKcmyk(0%, 7.4%, 60.6%, 9.4%)
CIE-LABlab(84.91, -8.72, 61.25)
CIE-LCHlch(84.91, 61.87, 98.10°)
OKLaboklab(86.7% -0.0285 0.1404)
OKLCHoklch(86.7% 0.143 101.5)
XYZxyz(58.8921, 65.8397, 19.5017)
Luminance0.6584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D65B #5B6CE7
analogous
#E7905B #E7D65B #B2E75B
triadic
#E7D65B #5BE7D6 #D65BE7
tetradic
#E7D65B #5BE790 #5B6CE7 #E75BB2
square
#E7D65B #5BE790 #5B6CE7 #E75BB2
split-complementary
#E7D65B #5BB2E7 #905BE7
monochromatic
#AE9C19 #DFC926 #E7D65B #EFE390 #F7F1C6

Accessibility & contrast

On white

1.48
#E7D65B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#E7D65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D65B
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D65B#FFFFFF#000000##000000
##E7D65B1.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04D
Deuteranopia (green-blind)
#EDD761
Tritanopia (blue-blind)
#F7C8BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d65b;
/* rgb */ color: rgb(231, 214, 91);
/* oklch */ color: oklch(86.7% 0.143 101.5);
Tailwind
colors: {
  custom: {
    50: '#f2e28e',
    500: '#e7d65b',
    950: '#000000',
  },
}
SCSS
$custom: #e7d65b;
$custom-light: #f2e28e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d65b",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 91
  },
  "hsl": {
    "h": 52.714,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86697,
    "c": 0.14327,
    "h": 101.5
  },
  "luminance": 0.65837
}

Semantic roles & 50–950 ramp

primary
#E7D65B
secondary
#3746AF
accent
#27D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D65B

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

Preview Lab → · Contrast checker → · Palette generator →

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