#E7C648#E7C648

#E7C648 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.3% C 0.145 H 94.2°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#E7C648
RGBrgb(231, 198, 72)
HSLhsl(48, 77%, 59%)
HSVhsv(48, 69%, 91%)
CMYKcmyk(0%, 14.3%, 68.8%, 9.4%)
CIE-LABlab(80.65, -1.68, 64.67)
CIE-LCHlch(80.65, 64.69, 91.49°)
OKLaboklab(83.27% -0.0105 0.1448)
OKLCHoklch(83.27% 0.145 94.2)
XYZxyz(54.3215, 57.8479, 14.4342)
Luminance0.5785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C648 #4869E7
analogous
#E77748 #E7C648 #B9E748
triadic
#E7C648 #48E7C6 #C648E7
tetradic
#E7C648 #48E777 #4869E7 #E748B9
square
#E7C648 #48E777 #4869E7 #E748B9
split-complementary
#E7C648 #48B9E7 #7748E7
monochromatic
#A08315 #D6AF1C #E7C648 #EED77E #F5E8B4

Accessibility & contrast

On white

1.67
#E7C648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#E7C648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C648
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C648#FFFFFF#000000##000000
##E7C6481.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC237
Deuteranopia (green-blind)
#E3CC4F
Tritanopia (blue-blind)
#F9B7AC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e7c648;
/* rgb */ color: rgb(231, 198, 72);
/* oklch */ color: oklch(83.3% 0.145 94.2);
Tailwind
colors: {
  custom: {
    50: '#f3d682',
    500: '#e7c648',
    950: '#000000',
  },
}
SCSS
$custom: #e7c648;
$custom-light: #f3d682;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c648",
  "rgb": {
    "r": 231,
    "g": 198,
    "b": 72
  },
  "hsl": {
    "h": 47.547,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83273,
    "c": 0.14514,
    "h": 94.2
  },
  "luminance": 0.57845
}

Semantic roles & 50–950 ramp

primary
#E7C648
secondary
#3148A2
accent
#5CF334
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7C648

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

Preview Lab → · Contrast checker → · Palette generator →

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