#E7D35F#E7D35F

#E7D35F is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.1% C 0.137 H 99.6°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#E7D35F
RGBrgb(231, 211, 95)
HSLhsl(51, 74%, 64%)
HSVhsv(51, 59%, 91%)
CMYKcmyk(0%, 8.7%, 58.9%, 9.4%)
CIE-LABlab(84.18, -6.93, 58.68)
CIE-LCHlch(84.18, 59.09, 96.73°)
OKLaboklab(86.12% -0.0229 0.1354)
OKLCHoklch(86.12% 0.137 99.6)
XYZxyz(58.3171, 64.4061, 20.1841)
Luminance0.6440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D35F #5F73E7
analogous
#E78F5F #E7D35F #B7E75F
triadic
#E7D35F #5FE7D3 #D35FE7
tetradic
#E7D35F #5FE78F #5F73E7 #E75FB7
square
#E7D35F #5FE78F #5F73E7 #E75FB7
split-complementary
#E7D35F #5FB7E7 #8F5FE7
monochromatic
#B19B1B #DFC42A #E7D35F #EFE294 #F7F0C9

Accessibility & contrast

On white

1.51
#E7D35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#E7D35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D35F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D35F#FFFFFF#000000##000000
##E7D35F1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE53
Deuteranopia (green-blind)
#EBD565
Tritanopia (blue-blind)
#F7C5BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d35f;
/* rgb */ color: rgb(231, 211, 95);
/* oklch */ color: oklch(86.1% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#f1e090',
    500: '#e7d35f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d35f;
$custom-light: #f1e090;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d35f",
  "rgb": {
    "r": 231,
    "g": 211,
    "b": 95
  },
  "hsl": {
    "h": 51.176,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86123,
    "c": 0.13738,
    "h": 99.6
  },
  "luminance": 0.64404
}

Semantic roles & 50–950 ramp

primary
#E7D35F
secondary
#394AB2
accent
#2DD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D35F

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

Preview Lab → · Contrast checker → · Palette generator →

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