#E2C25D#E2C25D

#E2C25D is a very light, vivid yellow. Relative luminance 0.555; OKLCH L 82.2% C 0.125 H 91.9°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#E2C25D
RGBrgb(226, 194, 93)
HSLhsl(46, 70%, 63%)
HSVhsv(46, 59%, 89%)
CMYKcmyk(0%, 14.2%, 58.8%, 11.4%)
CIE-LABlab(79.35, -0.42, 54.03)
CIE-LCHlch(79.35, 54.03, 90.44°)
OKLaboklab(82.2% -0.0041 0.1253)
OKLCHoklch(82.2% 0.125 91.9)
XYZxyz(52.6339, 55.5453, 18.3027)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C25D #5D7DE2
analogous
#E27F5D #E2C25D #BFE25D
triadic
#E2C25D #5DE2C2 #C25DE2
tetradic
#E2C25D #5DE27F #5D7DE2 #E25DBF
square
#E2C25D #5DE27F #5D7DE2 #E25DBF
split-complementary
#E2C25D #5DBFE2 #7F5DE2
monochromatic
#A7861E #D9AE29 #E2C25D #EBD691 #F5E9C5

Accessibility & contrast

On white

1.73
#E2C25D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#E2C25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C25D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C25D#FFFFFF#000000##000000
##E2C25D1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF53
Deuteranopia (green-blind)
#DCC961
Tritanopia (blue-blind)
#F3B4AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e2c25d;
/* rgb */ color: rgb(226, 194, 93);
/* oklch */ color: oklch(82.2% 0.125 91.9);
Tailwind
colors: {
  custom: {
    50: '#eed48e',
    500: '#e2c25d',
    950: '#000000',
  },
}
SCSS
$custom: #e2c25d;
$custom-light: #eed48e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c25d",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 93
  },
  "hsl": {
    "h": 45.564,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82196,
    "c": 0.12541,
    "h": 91.9
  },
  "luminance": 0.55543
}

Semantic roles & 50–950 ramp

primary
#E2C25D
secondary
#3A55A9
accent
#42D214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C25D

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

Preview Lab → · Contrast checker → · Palette generator →

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