#E2CA48#E2CA48

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

Color values

HEX#E2CA48
RGBrgb(226, 202, 72)
HSLhsl(51, 73%, 58%)
HSVhsv(51, 68%, 89%)
CMYKcmyk(0%, 10.6%, 68.1%, 11.4%)
CIE-LABlab(81.23, -5.84, 65.10)
CIE-LCHlch(81.23, 65.37, 95.13°)
OKLaboklab(83.62% -0.0221 0.1459)
OKLCHoklch(83.62% 0.148 98.6)
XYZxyz(53.6567, 58.8802, 14.6684)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA48 #4860E2
analogous
#E27D48 #E2CA48 #ADE248
triadic
#E2CA48 #48E2CA #CA48E2
tetradic
#E2CA48 #48E27D #4860E2 #E248AD
square
#E2CA48 #48E27D #4860E2 #E248AD
split-complementary
#E2CA48 #48ADE2 #7D48E2
monochromatic
#988418 #CCB220 #E2CA48 #EAD97D #F3E9B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CA48#FFFFFF#000000##000000
##E2CA481.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)
#DDC536
Deuteranopia (green-blind)
#E4CD4F
Tritanopia (blue-blind)
#F3BBB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca48;
/* rgb */ color: rgb(226, 202, 72);
/* oklch */ color: oklch(83.6% 0.148 98.6);
Tailwind
colors: {
  custom: {
    50: '#efd982',
    500: '#e2ca48',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca48;
$custom-light: #efd982;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca48",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 50.649,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83619,
    "c": 0.14752,
    "h": 98.6
  },
  "luminance": 0.58878
}

Semantic roles & 50–950 ramp

primary
#E2CA48
secondary
#33439C
accent
#55EF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2CA48

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

Preview Lab → · Contrast checker → · Palette generator →

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