#E7D45E#E7D45E

#E7D45E is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.3% C 0.139 H 100.2°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#E7D45E
RGBrgb(231, 212, 94)
HSLhsl(52, 74%, 64%)
HSVhsv(52, 59%, 91%)
CMYKcmyk(0%, 8.2%, 59.3%, 9.4%)
CIE-LABlab(84.43, -7.50, 59.40)
CIE-LCHlch(84.43, 59.87, 97.20°)
OKLaboklab(86.32% -0.0247 0.1369)
OKLCHoklch(86.32% 0.139 100.2)
XYZxyz(58.5211, 64.8864, 20.0293)
Luminance0.6488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D45E #5E71E7
analogous
#E78F5E #E7D45E #B5E75E
triadic
#E7D45E #5EE7D4 #D45EE7
tetradic
#E7D45E #5EE78F #5E71E7 #E75EB5
square
#E7D45E #5EE78F #5E71E7 #E75EB5
split-complementary
#E7D45E #5EB5E7 #8F5EE7
monochromatic
#B09C1A #DFC629 #E7D45E #EFE293 #F7F0C9

Accessibility & contrast

On white

1.50
#E7D45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#E7D45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D45E
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D45E#FFFFFF#000000##000000
##E7D45E1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE51
Deuteranopia (green-blind)
#EBD664
Tritanopia (blue-blind)
#F7C6BA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d45e;
/* rgb */ color: rgb(231, 212, 94);
/* oklch */ color: oklch(86.3% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#f2e090',
    500: '#e7d45e',
    950: '#000000',
  },
}
SCSS
$custom: #e7d45e;
$custom-light: #f2e090;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d45e",
  "rgb": {
    "r": 231,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 51.679,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86317,
    "c": 0.13907,
    "h": 100.2
  },
  "luminance": 0.64884
}

Semantic roles & 50–950 ramp

primary
#E7D45E
secondary
#3849B1
accent
#2BD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D45E

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

Preview Lab → · Contrast checker → · Palette generator →

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