#E2C25F#E2C25F

#E2C25F is a very light, vivid yellow. Relative luminance 0.556; OKLCH L 82.2% C 0.124 H 91.6°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#E2C25F
RGBrgb(226, 194, 95)
HSLhsl(45, 69%, 63%)
HSVhsv(45, 58%, 89%)
CMYKcmyk(0%, 14.2%, 58%, 11.4%)
CIE-LABlab(79.37, -0.27, 53.12)
CIE-LCHlch(79.37, 53.12, 90.29°)
OKLaboklab(82.22% -0.0034 0.1236)
OKLCHoklch(82.22% 0.124 91.6)
XYZxyz(52.7237, 55.5812, 18.7754)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C25F #5F7FE2
analogous
#E2815F #E2C25F #C0E25F
triadic
#E2C25F #5FE2C2 #C25FE2
tetradic
#E2C25F #5FE281 #5F7FE2 #E25FC0
square
#E2C25F #5FE281 #5F7FE2 #E25FC0
split-complementary
#E2C25F #5FC0E2 #815FE2
monochromatic
#A8871E #D9AE2B #E2C25F #EBD693 #F5EAC7

Accessibility & contrast

On white

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

On black

12.12
#E2C25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C25F
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C25F#FFFFFF#000000##000000
##E2C25F1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF55
Deuteranopia (green-blind)
#DCC963
Tritanopia (blue-blind)
#F3B5AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e2c25f;
/* rgb */ color: rgb(226, 194, 95);
/* oklch */ color: oklch(82.2% 0.124 91.6);
Tailwind
colors: {
  custom: {
    50: '#eed48f',
    500: '#e2c25f',
    950: '#000000',
  },
}
SCSS
$custom: #e2c25f;
$custom-light: #eed48f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c25f",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 95
  },
  "hsl": {
    "h": 45.344,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82219,
    "c": 0.12367,
    "h": 91.6
  },
  "luminance": 0.55579
}

Semantic roles & 50–950 ramp

primary
#E2C25F
secondary
#3B56AA
accent
#42D114
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C25F

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

Preview Lab → · Contrast checker → · Palette generator →

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