#E7C852#E7C852

#E7C852 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.8% C 0.139 H 94.4°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#E7C852
RGBrgb(231, 200, 82)
HSLhsl(48, 76%, 61%)
HSVhsv(48, 65%, 91%)
CMYKcmyk(0%, 13.4%, 64.5%, 9.4%)
CIE-LABlab(81.24, -2.15, 61.14)
CIE-LCHlch(81.24, 61.18, 92.01°)
OKLaboklab(83.76% -0.0107 0.1389)
OKLCHoklch(83.76% 0.139 94.4)
XYZxyz(55.1349, 58.9095, 16.4476)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C852 #5271E7
analogous
#E77E52 #E7C852 #BCE752
triadic
#E7C852 #52E7C8 #C852E7
tetradic
#E7C852 #52E77E #5271E7 #E752BC
square
#E7C852 #52E77E #5271E7 #E752BC
split-complementary
#E7C852 #52BCE7 #7E52E7
monochromatic
#A78917 #DDB61F #E7C852 #EED988 #F6EABD

Accessibility & contrast

On white

1.64
#E7C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#E7C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C852
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C852#FFFFFF#000000##000000
##E7C8521.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC444
Deuteranopia (green-blind)
#E3CE58
Tritanopia (blue-blind)
#F9B9AF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e7c852;
/* rgb */ color: rgb(231, 200, 82);
/* oklch */ color: oklch(83.8% 0.139 94.4);
Tailwind
colors: {
  custom: {
    50: '#f2d888',
    500: '#e7c852',
    950: '#000000',
  },
}
SCSS
$custom: #e7c852;
$custom-light: #f2d888;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c852",
  "rgb": {
    "r": 231,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 47.517,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83762,
    "c": 0.13932,
    "h": 94.4
  },
  "luminance": 0.58907
}

Semantic roles & 50–950 ramp

primary
#E7C852
secondary
#344CA9
accent
#38D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C852

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

Preview Lab → · Contrast checker → · Palette generator →

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