#E2CF45#E2CF45

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

Color values

HEX#E2CF45
RGBrgb(226, 207, 69)
HSLhsl(53, 73%, 58%)
HSVhsv(53, 69%, 89%)
CMYKcmyk(0%, 8.4%, 69.5%, 11.4%)
CIE-LABlab(82.50, -8.54, 67.55)
CIE-LCHlch(82.50, 68.09, 97.20°)
OKLaboklab(84.62% -0.0301 0.1505)
OKLCHoklch(84.62% 0.153 101.3)
XYZxyz(54.7535, 61.2265, 14.5629)
Luminance0.6122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF45 #4558E2
analogous
#E28145 #E2CF45 #A6E245
triadic
#E2CF45 #45E2CF #CF45E2
tetradic
#E2CF45 #45E281 #4558E2 #E245A6
square
#E2CF45 #45E281 #4558E2 #E245A6
split-complementary
#E2CF45 #45A6E2 #8145E2
monochromatic
#958617 #CAB620 #E2CF45 #EADD7A #F3EAAF

Accessibility & contrast

On white

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

On black

13.24
#E2CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF45
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF45#FFFFFF#000000##000000
##E2CF451.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C930
Deuteranopia (green-blind)
#E7D14E
Tritanopia (blue-blind)
#F3C0B3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cf45;
/* rgb */ color: rgb(226, 207, 69);
/* oklch */ color: oklch(84.6% 0.153 101.3);
Tailwind
colors: {
  custom: {
    50: '#efdd81',
    500: '#e2cf45',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf45;
$custom-light: #efdd81;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf45",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 52.739,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84623,
    "c": 0.15349,
    "h": 101.3
  },
  "luminance": 0.61224
}

Semantic roles & 50–950 ramp

primary
#E2CF45
secondary
#323E9A
accent
#4EF038
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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