#E8CF6B#E8CF6B

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

Color values

HEX#E8CF6B
RGBrgb(232, 207, 107)
HSLhsl(48, 73%, 66%)
HSVhsv(48, 54%, 91%)
CMYKcmyk(0%, 10.8%, 53.9%, 9%)
CIE-LABlab(83.36, -3.58, 52.25)
CIE-LCHlch(83.36, 52.38, 93.92°)
OKLaboklab(85.54% -0.012 0.1229)
OKLCHoklch(85.54% 0.123 95.6)
XYZxyz(58.2475, 62.8455, 22.9693)
Luminance0.6284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CF6B #6B84E8
analogous
#E8916B #E8CF6B #C3E86B
triadic
#E8CF6B #6BE8CF #CF6BE8
tetradic
#E8CF6B #6BE891 #6B84E8 #E86BC3
square
#E8CF6B #6BE891 #6B84E8 #E86BC3
split-complementary
#E8CF6B #6BC3E8 #916BE8
monochromatic
#BB9C1D #E0BE36 #E8CF6B #F0E0A0 #F8F1D5

Accessibility & contrast

On white

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

On black

13.57
#E8CF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CF6B
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CF6B#FFFFFF#000000##000000
##E8CF6B1.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8cf6b;
/* rgb */ color: rgb(232, 207, 107);
/* oklch */ color: oklch(85.5% 0.123 95.6);
Tailwind
colors: {
  custom: {
    50: '#f2dd98',
    500: '#e8cf6b',
    950: '#000000',
  },
}
SCSS
$custom: #e8cf6b;
$custom-light: #f2dd98;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cf6b",
  "rgb": {
    "r": 232,
    "g": 207,
    "b": 107
  },
  "hsl": {
    "h": 48,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85538,
    "c": 0.12348,
    "h": 95.6
  },
  "luminance": 0.62843
}

Semantic roles & 50–950 ramp

primary
#E8CF6B
secondary
#3C56BB
accent
#38D510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8CF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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