#E7CA48#E7CA48

#E7CA48 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.1% C 0.148 H 96.4°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#E7CA48
RGBrgb(231, 202, 72)
HSLhsl(49, 77%, 59%)
HSVhsv(49, 69%, 91%)
CMYKcmyk(0%, 12.6%, 68.8%, 9.4%)
CIE-LABlab(81.68, -3.73, 65.71)
CIE-LCHlch(81.68, 65.81, 93.25°)
OKLaboklab(84.08% -0.0164 0.147)
OKLCHoklch(84.08% 0.148 96.4)
XYZxyz(55.2479, 59.7007, 14.7430)
Luminance0.5970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA48 #4865E7
analogous
#E77B48 #E7CA48 #B4E748
triadic
#E7CA48 #48E7CA #CA48E7
tetradic
#E7CA48 #48E77B #4865E7 #E748B4
square
#E7CA48 #48E77B #4865E7 #E748B4
split-complementary
#E7CA48 #48B4E7 #7B48E7
monochromatic
#A08615 #D6B41C #E7CA48 #EEDA7E #F5E9B4

Accessibility & contrast

On white

1.62
#E7CA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#E7CA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CA48
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CA48#FFFFFF#000000##000000
##E7CA481.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC636
Deuteranopia (green-blind)
#E5CF4F
Tritanopia (blue-blind)
#F9BBB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7ca48;
/* rgb */ color: rgb(231, 202, 72);
/* oklch */ color: oklch(84.1% 0.148 96.4);
Tailwind
colors: {
  custom: {
    50: '#f2d982',
    500: '#e7ca48',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca48;
$custom-light: #f2d982;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca48",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 49.057,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84081,
    "c": 0.14787,
    "h": 96.4
  },
  "luminance": 0.59698
}

Semantic roles & 50–950 ramp

primary
#E7CA48
secondary
#3146A2
accent
#57F334
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7CA48

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

Preview Lab → · Contrast checker → · Palette generator →

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