#E2CF54#E2CF54

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

Color values

HEX#E2CF54
RGBrgb(226, 207, 84)
HSLhsl(52, 71%, 61%)
HSVhsv(52, 63%, 89%)
CMYKcmyk(0%, 8.4%, 62.8%, 11.4%)
CIE-LABlab(82.61, -7.70, 61.63)
CIE-LCHlch(82.61, 62.11, 97.12°)
OKLaboklab(84.75% -0.0261 0.1404)
OKLCHoklch(84.75% 0.143 100.5)
XYZxyz(55.2793, 61.4368, 17.3325)
Luminance0.6143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF54 #5467E2
analogous
#E28854 #E2CF54 #AEE254
triadic
#E2CF54 #54E2CF #CF54E2
tetradic
#E2CF54 #54E288 #5467E2 #E254AE
square
#E2CF54 #54E288 #5467E2 #E254AE
split-complementary
#E2CF54 #54AEE2 #8854E2
monochromatic
#A08F1B #D5BD24 #E2CF54 #EBDE88 #F4ECBD

Accessibility & contrast

On white

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

On black

13.29
#E2CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF54
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF54#FFFFFF#000000##000000
##E2CF541.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C945
Deuteranopia (green-blind)
#E7D15B
Tritanopia (blue-blind)
#F2C1B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf54;
/* rgb */ color: rgb(226, 207, 84);
/* oklch */ color: oklch(84.7% 0.143 100.5);
Tailwind
colors: {
  custom: {
    50: '#eedd89',
    500: '#e2cf54',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf54;
$custom-light: #eedd89;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf54",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 51.972,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84749,
    "c": 0.14277,
    "h": 100.5
  },
  "luminance": 0.61434
}

Semantic roles & 50–950 ramp

primary
#E2CF54
secondary
#3745A3
accent
#2CD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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