#E7C452#E7C452

#E7C452 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 83.0% C 0.137 H 92.0°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#E7C452
RGBrgb(231, 196, 82)
HSLhsl(46, 76%, 61%)
HSVhsv(46, 65%, 91%)
CMYKcmyk(0%, 15.2%, 64.5%, 9.4%)
CIE-LABlab(80.23, -0.08, 60.05)
CIE-LCHlch(80.23, 60.05, 90.08°)
OKLaboklab(82.96% -0.0048 0.1366)
OKLCHoklch(82.96% 0.137 92)
XYZxyz(54.2206, 57.0810, 16.1428)
Luminance0.5708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C452 #5275E7
analogous
#E77A52 #E7C452 #C0E752
triadic
#E7C452 #52E7C4 #C452E7
tetradic
#E7C452 #52E77A #5275E7 #E752C0
square
#E7C452 #52E77A #5275E7 #E752C0
split-complementary
#E7C452 #52C0E7 #7A52E7
monochromatic
#A78617 #DDB01F #E7C452 #EED688 #F6E9BD

Accessibility & contrast

On white

1.69
#E7C452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#E7C452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C452
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C452#FFFFFF#000000##000000
##E7C4521.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C145
Deuteranopia (green-blind)
#E1CB57
Tritanopia (blue-blind)
#F9B5AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e7c452;
/* rgb */ color: rgb(231, 196, 82);
/* oklch */ color: oklch(83.0% 0.137 92.0);
Tailwind
colors: {
  custom: {
    50: '#f2d587',
    500: '#e7c452',
    950: '#000000',
  },
}
SCSS
$custom: #e7c452;
$custom-light: #f2d587;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c452",
  "rgb": {
    "r": 231,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 45.906,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82959,
    "c": 0.13667,
    "h": 92
  },
  "luminance": 0.57078
}

Semantic roles & 50–950 ramp

primary
#E7C452
secondary
#3450A9
accent
#3DD80E
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C452

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

Preview Lab → · Contrast checker → · Palette generator →

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