#E0CF46#E0CF46

#E0CF46 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.5% C 0.153 H 102.1°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#E0CF46
RGBrgb(224, 207, 70)
HSLhsl(53, 71%, 58%)
HSVhsv(53, 69%, 88%)
CMYKcmyk(0%, 7.6%, 68.8%, 12.2%)
CIE-LABlab(82.33, -9.33, 66.94)
CIE-LCHlch(82.33, 67.59, 97.93°)
OKLaboklab(84.45% -0.0321 0.1495)
OKLCHoklch(84.45% 0.153 102.1)
XYZxyz(54.1611, 60.9174, 14.6985)
Luminance0.6091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CF46 #4657E0
analogous
#E08246 #E0CF46 #A4E046
triadic
#E0CF46 #46E0CF #CF46E0
tetradic
#E0CF46 #46E082 #4657E0 #E046A4
square
#E0CF46 #46E082 #4657E0 #E046A4
split-complementary
#E0CF46 #46A4E0 #8246E0
monochromatic
#938519 #C7B521 #E0CF46 #E9DD7A #F2EAAF

Accessibility & contrast

On white

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

On black

13.18
#E0CF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CF46
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CF46#FFFFFF#000000##000000
##E0CF461.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C932
Deuteranopia (green-blind)
#E7D04F
Tritanopia (blue-blind)
#F1C1B3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e0cf46;
/* rgb */ color: rgb(224, 207, 70);
/* oklch */ color: oklch(84.5% 0.153 102.1);
Tailwind
colors: {
  custom: {
    50: '#eddd81',
    500: '#e0cf46',
    950: '#000000',
  },
}
SCSS
$custom: #e0cf46;
$custom-light: #eddd81;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cf46",
  "rgb": {
    "r": 224,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 53.377,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84452,
    "c": 0.15288,
    "h": 102.1
  },
  "luminance": 0.60915
}

Semantic roles & 50–950 ramp

primary
#E0CF46
secondary
#333E98
accent
#4EEE3A
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E0CF46

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

Preview Lab → · Contrast checker → · Palette generator →

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