#E4CF46#E4CF46

#E4CF46 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.8% C 0.153 H 100.4°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#E4CF46
RGBrgb(228, 207, 70)
HSLhsl(52, 75%, 58%)
HSVhsv(52, 69%, 89%)
CMYKcmyk(0%, 9.2%, 69.3%, 10.6%)
CIE-LABlab(82.68, -7.65, 67.41)
CIE-LCHlch(82.68, 67.84, 96.47°)
OKLaboklab(84.81% -0.0276 0.1503)
OKLCHoklch(84.81% 0.153 100.4)
XYZxyz(55.4157, 61.5643, 14.7573)
Luminance0.6156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF46 #465BE4
analogous
#E48046 #E4CF46 #AAE446
triadic
#E4CF46 #46E4CF #CF46E4
tetradic
#E4CF46 #46E480 #465BE4 #E446AA
square
#E4CF46 #46E480 #465BE4 #E446AA
split-complementary
#E4CF46 #46AAE4 #8046E4
monochromatic
#998816 #CFB71E #E4CF46 #ECDD7B #F4EBB1

Accessibility & contrast

On white

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

On black

13.31
#E4CF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF46
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF46#FFFFFF#000000##000000
##E4CF461.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C932
Deuteranopia (green-blind)
#E8D14E
Tritanopia (blue-blind)
#F5C0B4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e4cf46;
/* rgb */ color: rgb(228, 207, 70);
/* oklch */ color: oklch(84.8% 0.153 100.4);
Tailwind
colors: {
  custom: {
    50: '#f0dd81',
    500: '#e4cf46',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf46;
$custom-light: #f0dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf46",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 52.025,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8481,
    "c": 0.15282,
    "h": 100.4
  },
  "luminance": 0.61562
}

Semantic roles & 50–950 ramp

primary
#E4CF46
secondary
#31409D
accent
#4FF137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E4CF46

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

Preview Lab → · Contrast checker → · Palette generator →

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