#E7C748#E7C748

#E7C748 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.5% C 0.146 H 94.7°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#E7C748
RGBrgb(231, 199, 72)
HSLhsl(48, 77%, 59%)
HSVhsv(48, 69%, 91%)
CMYKcmyk(0%, 13.9%, 68.8%, 9.4%)
CIE-LABlab(80.91, -2.19, 64.93)
CIE-LCHlch(80.91, 64.96, 91.93°)
OKLaboklab(83.47% -0.012 0.1453)
OKLCHoklch(83.47% 0.146 94.7)
XYZxyz(54.5509, 58.3066, 14.5106)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C748 #4868E7
analogous
#E77848 #E7C748 #B7E748
triadic
#E7C748 #48E7C7 #C748E7
tetradic
#E7C748 #48E778 #4868E7 #E748B7
square
#E7C748 #48E778 #4868E7 #E748B7
split-complementary
#E7C748 #48B7E7 #7848E7
monochromatic
#A08415 #D6B01C #E7C748 #EED87E #F5E8B4

Accessibility & contrast

On white

1.66
#E7C748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#E7C748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C748
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C748#FFFFFF#000000##000000
##E7C7481.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC337
Deuteranopia (green-blind)
#E3CD4F
Tritanopia (blue-blind)
#F9B8AD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e7c748;
/* rgb */ color: rgb(231, 199, 72);
/* oklch */ color: oklch(83.5% 0.146 94.7);
Tailwind
colors: {
  custom: {
    50: '#f3d782',
    500: '#e7c748',
    950: '#000000',
  },
}
SCSS
$custom: #e7c748;
$custom-light: #f3d782;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c748",
  "rgb": {
    "r": 231,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 47.925,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83474,
    "c": 0.1458,
    "h": 94.7
  },
  "luminance": 0.58304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7C748

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

Preview Lab → · Contrast checker → · Palette generator →

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