#E2CA30#E2CA30

#E2CA30 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.5% C 0.161 H 99.8°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#E2CA30
RGBrgb(226, 202, 48)
HSLhsl(52, 75%, 54%)
HSVhsv(52, 79%, 89%)
CMYKcmyk(0%, 10.6%, 78.8%, 11.4%)
CIE-LABlab(81.09, -6.87, 73.35)
CIE-LCHlch(81.09, 73.67, 95.35°)
OKLaboklab(83.46% -0.0274 0.159)
OKLCHoklch(83.46% 0.161 99.8)
XYZxyz(53.0208, 58.6259, 11.3189)
Luminance0.5862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA30 #3048E2
analogous
#E27130 #E2CA30 #A1E230
triadic
#E2CA30 #30E2CA #CA30E2
tetradic
#E2CA30 #30E271 #3048E2 #E230A1
square
#E2CA30 #30E271 #3048E2 #E230A1
split-complementary
#E2CA30 #30A1E2 #7130E2
monochromatic
#857613 #BBA51A #E2CA30 #EAD866 #F1E59B

Accessibility & contrast

On white

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

On black

12.72
#E2CA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA30
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA30#FFFFFF#000000##000000
##E2CA301.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#E5CD3C
Tritanopia (blue-blind)
#F4BBAE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2ca30;
/* rgb */ color: rgb(226, 202, 48);
/* oklch */ color: oklch(83.5% 0.161 99.8);
Tailwind
colors: {
  custom: {
    50: '#f0d976',
    500: '#e2ca30',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca30;
$custom-light: #f0d976;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca30",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 48
  },
  "hsl": {
    "h": 51.91,
    "s": 75.424,
    "l": 53.725
  },
  "oklch": {
    "l": 0.83463,
    "c": 0.16131,
    "h": 99.8
  },
  "luminance": 0.58623
}

Semantic roles & 50–950 ramp

primary
#E2CA30
secondary
#2B388B
accent
#4FF236
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #E2CA30

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

Preview Lab → · Contrast checker → · Palette generator →

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