#E1C45F#E1C45F

#E1C45F is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.5% C 0.125 H 93.5°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#E1C45F
RGBrgb(225, 196, 95)
HSLhsl(47, 68%, 63%)
HSVhsv(47, 58%, 88%)
CMYKcmyk(0%, 12.9%, 57.8%, 11.8%)
CIE-LABlab(79.79, -1.72, 53.58)
CIE-LCHlch(79.79, 53.60, 91.84°)
OKLaboklab(82.53% -0.0076 0.1246)
OKLCHoklch(82.53% 0.125 93.5)
XYZxyz(52.8590, 56.3162, 18.9101)
Luminance0.5631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C45F #5F7CE1
analogous
#E1835F #E1C45F #BDE15F
triadic
#E1C45F #5FE1C4 #C45FE1
tetradic
#E1C45F #5FE183 #5F7CE1 #E15FBD
square
#E1C45F #5FE183 #5F7CE1 #E15FBD
split-complementary
#E1C45F #5FBDE1 #835FE1
monochromatic
#A6881F #D7B12B #E1C45F #EBD793 #F4EAC6

Accessibility & contrast

On white

1.71
#E1C45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#E1C45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C45F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C45F#FFFFFF#000000##000000
##E1C45F1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C155
Deuteranopia (green-blind)
#DDCA63
Tritanopia (blue-blind)
#F1B7AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e1c45f;
/* rgb */ color: rgb(225, 196, 95);
/* oklch */ color: oklch(82.5% 0.125 93.5);
Tailwind
colors: {
  custom: {
    50: '#edd58f',
    500: '#e1c45f',
    950: '#000000',
  },
}
SCSS
$custom: #e1c45f;
$custom-light: #edd58f;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c45f",
  "rgb": {
    "r": 225,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 46.615,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82528,
    "c": 0.12486,
    "h": 93.5
  },
  "luminance": 0.56314
}

Semantic roles & 50–950 ramp

primary
#E1C45F
secondary
#3B54A9
accent
#3FD015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E1C45F

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

Preview Lab → · Contrast checker → · Palette generator →

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