#E7D65F#E7D65F

#E7D65F is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.7% C 0.140 H 101.2°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#E7D65F
RGBrgb(231, 214, 95)
HSLhsl(53, 74%, 64%)
HSVhsv(53, 59%, 91%)
CMYKcmyk(0%, 7.4%, 58.9%, 9.4%)
CIE-LABlab(84.95, -8.44, 59.55)
CIE-LCHlch(84.95, 60.14, 98.07°)
OKLaboklab(86.74% -0.0273 0.1373)
OKLCHoklch(86.74% 0.14 101.2)
XYZxyz(59.0693, 65.9106, 20.4348)
Luminance0.6591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D65F #5F70E7
analogous
#E7925F #E7D65F #B4E75F
triadic
#E7D65F #5FE7D6 #D65FE7
tetradic
#E7D65F #5FE792 #5F70E7 #E75FB4
square
#E7D65F #5FE792 #5F70E7 #E75FB4
split-complementary
#E7D65F #5FB4E7 #925FE7
monochromatic
#B19E1B #DFC82A #E7D65F #EFE494 #F7F1C9

Accessibility & contrast

On white

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

On black

14.18
#E7D65F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D65F
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D65F#FFFFFF#000000##000000
##E7D65F1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d65f;
/* rgb */ color: rgb(231, 214, 95);
/* oklch */ color: oklch(86.7% 0.140 101.2);
Tailwind
colors: {
  custom: {
    50: '#f1e291',
    500: '#e7d65f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d65f;
$custom-light: #f1e291;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d65f",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 95
  },
  "hsl": {
    "h": 52.5,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86737,
    "c": 0.13997,
    "h": 101.2
  },
  "luminance": 0.65908
}

Semantic roles & 50–950 ramp

primary
#E7D65F
secondary
#3948B2
accent
#28D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D65F

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

Preview Lab → · Contrast checker → · Palette generator →

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