#E1CF51#E1CF51

#E1CF51 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.6% C 0.145 H 101.2°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#E1CF51
RGBrgb(225, 207, 81)
HSLhsl(53, 71%, 60%)
HSVhsv(53, 64%, 88%)
CMYKcmyk(0%, 8%, 64%, 11.8%)
CIE-LABlab(82.50, -8.30, 62.75)
CIE-LCHlch(82.50, 63.29, 97.53°)
OKLaboklab(84.63% -0.0281 0.1423)
OKLCHoklch(84.63% 0.145 101.2)
XYZxyz(54.8516, 61.2296, 16.7122)
Luminance0.6123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1CF51 #5163E1
analogous
#E18751 #E1CF51 #ABE151
triadic
#E1CF51 #51E1CF #CF51E1
tetradic
#E1CF51 #51E187 #5163E1 #E151AB
square
#E1CF51 #51E187 #5163E1 #E151AB
split-complementary
#E1CF51 #51ABE1 #8751E1
monochromatic
#9D8C1B #D1BB24 #E1CF51 #EADD85 #F3ECB9

Accessibility & contrast

On white

1.59
#E1CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#E1CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1CF51
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1CF51#FFFFFF#000000##000000
##E1CF511.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#E6D158
Tritanopia (blue-blind)
#F1C1B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e1cf51;
/* rgb */ color: rgb(225, 207, 81);
/* oklch */ color: oklch(84.6% 0.145 101.2);
Tailwind
colors: {
  custom: {
    50: '#eedd87',
    500: '#e1cf51',
    950: '#000000',
  },
}
SCSS
$custom: #e1cf51;
$custom-light: #eedd87;
$custom-dark: #000000;
JSON
{
  "hex": "#e1cf51",
  "rgb": {
    "r": 225,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 52.5,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.84632,
    "c": 0.14507,
    "h": 101.2
  },
  "luminance": 0.61227
}

Semantic roles & 50–950 ramp

primary
#E1CF51
secondary
#3643A0
accent
#51ED3A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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