#E0CF54#E0CF54

#E0CF54 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.6% C 0.143 H 101.4°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#E0CF54
RGBrgb(224, 207, 84)
HSLhsl(53, 69%, 60%)
HSVhsv(53, 63%, 88%)
CMYKcmyk(0%, 7.6%, 62.5%, 12.2%)
CIE-LABlab(82.44, -8.53, 61.39)
CIE-LCHlch(82.44, 61.98, 97.91°)
OKLaboklab(84.57% -0.0283 0.1399)
OKLCHoklch(84.57% 0.143 101.4)
XYZxyz(54.6557, 61.1153, 17.3032)
Luminance0.6111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CF54 #5465E0
analogous
#E08954 #E0CF54 #ABE054
triadic
#E0CF54 #54E0CF #CF54E0
tetradic
#E0CF54 #54E089 #5465E0 #E054AB
square
#E0CF54 #54E089 #5465E0 #E054AB
split-complementary
#E0CF54 #54ABE0 #8954E0
monochromatic
#9D8D1C #D1BC26 #E0CF54 #E9DE88 #F3ECBC

Accessibility & contrast

On white

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

On black

13.22
#E0CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CF54
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CF54#FFFFFF#000000##000000
##E0CF541.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C945
Deuteranopia (green-blind)
#E6D05B
Tritanopia (blue-blind)
#F0C1B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e0cf54;
/* rgb */ color: rgb(224, 207, 84);
/* oklch */ color: oklch(84.6% 0.143 101.4);
Tailwind
colors: {
  custom: {
    50: '#eddd89',
    500: '#e0cf54',
    950: '#000000',
  },
}
SCSS
$custom: #e0cf54;
$custom-light: #eddd89;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cf54",
  "rgb": {
    "r": 224,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 52.714,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84571,
    "c": 0.14276,
    "h": 101.4
  },
  "luminance": 0.61113
}

Semantic roles & 50–950 ramp

primary
#E0CF54
secondary
#3844A1
accent
#2BD114
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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