#E7D34C#E7D34C

#E7D34C is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.9% C 0.152 H 100.8°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#E7D34C
RGBrgb(231, 211, 76)
HSLhsl(52, 76%, 60%)
HSVhsv(52, 67%, 91%)
CMYKcmyk(0%, 8.7%, 67.1%, 9.4%)
CIE-LABlab(84.02, -8.10, 66.52)
CIE-LCHlch(84.02, 67.01, 96.94°)
OKLaboklab(85.95% -0.0284 0.1493)
OKLCHoklch(85.95% 0.152 100.8)
XYZxyz(57.5563, 64.1018, 16.1772)
Luminance0.6410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D34C #4C60E7
analogous
#E7854C #E7D34C #AEE74C
triadic
#E7D34C #4CE7D3 #D34CE7
tetradic
#E7D34C #4CE785 #4C60E7 #E74CAE
square
#E7D34C #4CE785 #4C60E7 #E74CAE
split-complementary
#E7D34C #4CAEE7 #854CE7
monochromatic
#A39116 #D9C11D #E7D34C #EEE082 #F5EEB8

Accessibility & contrast

On white

1.52
#E7D34C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#E7D34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D34C
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D34C#FFFFFF#000000##000000
##E7D34C1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD39
Deuteranopia (green-blind)
#ECD554
Tritanopia (blue-blind)
#F8C4B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d34c;
/* rgb */ color: rgb(231, 211, 76);
/* oklch */ color: oklch(85.9% 0.152 100.8);
Tailwind
colors: {
  custom: {
    50: '#f2e085',
    500: '#e7d34c',
    950: '#000000',
  },
}
SCSS
$custom: #e7d34c;
$custom-light: #f2e085;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d34c",
  "rgb": {
    "r": 231,
    "g": 211,
    "b": 76
  },
  "hsl": {
    "h": 52.258,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85947,
    "c": 0.15202,
    "h": 100.8
  },
  "luminance": 0.64099
}

Semantic roles & 50–950 ramp

primary
#E7D34C
secondary
#3241A5
accent
#27D90D
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E7D34C

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

Preview Lab → · Contrast checker → · Palette generator →

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