#E8CF6A#E8CF6A

#E8CF6A is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.5% C 0.124 H 95.7°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#E8CF6A
RGBrgb(232, 207, 106)
HSLhsl(48, 73%, 66%)
HSVhsv(48, 54%, 91%)
CMYKcmyk(0%, 10.8%, 54.3%, 9%)
CIE-LABlab(83.35, -3.66, 52.71)
CIE-LCHlch(83.35, 52.84, 93.97°)
OKLaboklab(85.53% -0.0123 0.1238)
OKLCHoklch(85.53% 0.124 95.7)
XYZxyz(58.1952, 62.8246, 22.6938)
Luminance0.6282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CF6A #6A83E8
analogous
#E8906A #E8CF6A #C2E86A
triadic
#E8CF6A #6AE8CF #CF6AE8
tetradic
#E8CF6A #6AE890 #6A83E8 #E86AC2
square
#E8CF6A #6AE890 #6A83E8 #E86AC2
split-complementary
#E8CF6A #6AC2E8 #906AE8
monochromatic
#BB9B1D #E0BE35 #E8CF6A #F0E09F #F8F1D4

Accessibility & contrast

On white

1.55
#E8CF6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#E8CF6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CF6A
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CF6A#FFFFFF#000000##000000
##E8CF6A1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB61
Deuteranopia (green-blind)
#E7D36E
Tritanopia (blue-blind)
#F8C2B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e8cf6a;
/* rgb */ color: rgb(232, 207, 106);
/* oklch */ color: oklch(85.5% 0.124 95.7);
Tailwind
colors: {
  custom: {
    50: '#f2dd97',
    500: '#e8cf6a',
    950: '#000000',
  },
}
SCSS
$custom: #e8cf6a;
$custom-light: #f2dd97;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cf6a",
  "rgb": {
    "r": 232,
    "g": 207,
    "b": 106
  },
  "hsl": {
    "h": 48.095,
    "s": 73.256,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85525,
    "c": 0.12441,
    "h": 95.7
  },
  "luminance": 0.62822
}

Semantic roles & 50–950 ramp

primary
#E8CF6A
secondary
#3C55BA
accent
#37D510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8CF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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