#E7C848#E7C848

#E7C848 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.7% C 0.146 H 95.3°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#E7C848
RGBrgb(231, 200, 72)
HSLhsl(48, 77%, 59%)
HSVhsv(48, 69%, 91%)
CMYKcmyk(0%, 13.4%, 68.8%, 9.4%)
CIE-LABlab(81.16, -2.71, 65.19)
CIE-LCHlch(81.16, 65.24, 92.38°)
OKLaboklab(83.68% -0.0135 0.1459)
OKLCHoklch(83.68% 0.146 95.3)
XYZxyz(54.7817, 58.7683, 14.5876)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C848 #4867E7
analogous
#E77948 #E7C848 #B7E748
triadic
#E7C848 #48E7C8 #C848E7
tetradic
#E7C848 #48E779 #4867E7 #E748B7
square
#E7C848 #48E779 #4867E7 #E748B7
split-complementary
#E7C848 #48B7E7 #7948E7
monochromatic
#A08515 #D6B21C #E7C848 #EED87E #F5E9B4

Accessibility & contrast

On white

1.65
#E7C848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#E7C848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C848
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C848#FFFFFF#000000##000000
##E7C8481.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#E4CE4F
Tritanopia (blue-blind)
#F9B9AE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e7c848;
/* rgb */ color: rgb(231, 200, 72);
/* oklch */ color: oklch(83.7% 0.146 95.3);
Tailwind
colors: {
  custom: {
    50: '#f3d882',
    500: '#e7c848',
    950: '#000000',
  },
}
SCSS
$custom: #e7c848;
$custom-light: #f3d882;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c848",
  "rgb": {
    "r": 231,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 48.302,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83676,
    "c": 0.14648,
    "h": 95.3
  },
  "luminance": 0.58765
}

Semantic roles & 50–950 ramp

primary
#E7C848
secondary
#3147A2
accent
#5AF334
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7C848

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

Preview Lab → · Contrast checker → · Palette generator →

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