#E1CF5A#E1CF5A

#E1CF5A is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.7% C 0.138 H 100.6°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#E1CF5A
RGBrgb(225, 207, 90)
HSLhsl(52, 69%, 62%)
HSVhsv(52, 60%, 88%)
CMYKcmyk(0%, 8%, 60%, 11.8%)
CIE-LABlab(82.58, -7.72, 58.97)
CIE-LCHlch(82.58, 59.48, 97.46°)
OKLaboklab(84.72% -0.0254 0.1356)
OKLCHoklch(84.72% 0.138 100.6)
XYZxyz(55.2117, 61.3736, 18.6089)
Luminance0.6137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1CF5A #5A6CE1
analogous
#E18C5A #E1CF5A #B0E15A
triadic
#E1CF5A #5AE1CF #CF5AE1
tetradic
#E1CF5A #5AE18C #5A6CE1 #E15AB0
square
#E1CF5A #5AE18C #5A6CE1 #E15AB0
split-complementary
#E1CF5A #5AB0E1 #8C5AE1
monochromatic
#A3911E #D7BF27 #E1CF5A #EADE8E #F4EDC2

Accessibility & contrast

On white

1.58
#E1CF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#E1CF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1CF5A
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1CF5A#FFFFFF#000000##000000
##E1CF5A1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C94D
Deuteranopia (green-blind)
#E6D160
Tritanopia (blue-blind)
#F1C2B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e1cf5a;
/* rgb */ color: rgb(225, 207, 90);
/* oklch */ color: oklch(84.7% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#eddd8d',
    500: '#e1cf5a',
    950: '#000000',
  },
}
SCSS
$custom: #e1cf5a;
$custom-light: #eddd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e1cf5a",
  "rgb": {
    "r": 225,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 52,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84718,
    "c": 0.13793,
    "h": 100.6
  },
  "luminance": 0.61371
}

Semantic roles & 50–950 ramp

primary
#E1CF5A
secondary
#3A48A6
accent
#2DD114
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1CF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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