#E8CF46#E8CF46

#E8CF46 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.2% C 0.153 H 98.7°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#E8CF46
RGBrgb(232, 207, 70)
HSLhsl(51, 78%, 59%)
HSVhsv(51, 70%, 91%)
CMYKcmyk(0%, 10.8%, 69.8%, 9%)
CIE-LABlab(83.03, -5.96, 67.87)
CIE-LCHlch(83.03, 68.14, 95.02°)
OKLaboklab(85.17% -0.023 0.1512)
OKLCHoklch(85.17% 0.153 98.7)
XYZxyz(56.6997, 62.2264, 14.8175)
Luminance0.6222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CF46 #465FE8
analogous
#E87E46 #E8CF46 #B0E846
triadic
#E8CF46 #46E8CF #CF46E8
tetradic
#E8CF46 #46E87E #465FE8 #E846B0
square
#E8CF46 #46E87E #465FE8 #E846B0
split-complementary
#E8CF46 #46B0E8 #7E46E8
monochromatic
#A08A14 #D6B91B #E8CF46 #EFDD7C #F6EBB3

Accessibility & contrast

On white

1.56
#E8CF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#E8CF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CF46
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CF46#FFFFFF#000000##000000
##E8CF461.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA31
Deuteranopia (green-blind)
#EAD34E
Tritanopia (blue-blind)
#FAC0B4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e8cf46;
/* rgb */ color: rgb(232, 207, 70);
/* oklch */ color: oklch(85.2% 0.153 98.7);
Tailwind
colors: {
  custom: {
    50: '#f3dd81',
    500: '#e8cf46',
    950: '#000000',
  },
}
SCSS
$custom: #e8cf46;
$custom-light: #f3dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cf46",
  "rgb": {
    "r": 232,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 50.741,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85173,
    "c": 0.15291,
    "h": 98.7
  },
  "luminance": 0.62224
}

Semantic roles & 50–950 ramp

primary
#E8CF46
secondary
#3041A2
accent
#51F433
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #E8CF46

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

Preview Lab → · Contrast checker → · Palette generator →

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