#E1CF5B#E1CF5B

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

Color values

HEX#E1CF5B
RGBrgb(225, 207, 91)
HSLhsl(52, 69%, 62%)
HSVhsv(52, 60%, 88%)
CMYKcmyk(0%, 8%, 59.6%, 11.8%)
CIE-LABlab(82.59, -7.65, 58.54)
CIE-LCHlch(82.59, 59.04, 97.45°)
OKLaboklab(84.73% -0.0251 0.1348)
OKLCHoklch(84.73% 0.137 100.5)
XYZxyz(55.2546, 61.3908, 18.8346)
Luminance0.6139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1CF5B #5B6DE1
analogous
#E18C5B #E1CF5B #B0E15B
triadic
#E1CF5B #5BE1CF #CF5BE1
tetradic
#E1CF5B #5BE18C #5B6DE1 #E15BB0
square
#E1CF5B #5BE18C #5B6DE1 #E15BB0
split-complementary
#E1CF5B #5BB0E1 #8C5BE1
monochromatic
#A4921E #D7C027 #E1CF5B #EADE8F #F4EDC2

Accessibility & contrast

On white

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

On black

13.28
#E1CF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1CF5B
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1CF5B#FFFFFF#000000##000000
##E1CF5B1.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C94E
Deuteranopia (green-blind)
#E6D161
Tritanopia (blue-blind)
#F1C2B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e1cf5b;
/* rgb */ color: rgb(225, 207, 91);
/* oklch */ color: oklch(84.7% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#eddd8e',
    500: '#e1cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #e1cf5b;
$custom-light: #eddd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e1cf5b",
  "rgb": {
    "r": 225,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 51.94,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84728,
    "c": 0.1371,
    "h": 100.5
  },
  "luminance": 0.61389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E1CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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