#E8CF5F#E8CF5F

#E8CF5F is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.4% C 0.134 H 96.8°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#E8CF5F
RGBrgb(232, 207, 95)
HSLhsl(49, 75%, 64%)
HSVhsv(49, 59%, 91%)
CMYKcmyk(0%, 10.8%, 59.1%, 9%)
CIE-LABlab(83.24, -4.48, 57.65)
CIE-LCHlch(83.24, 57.83, 94.44°)
OKLaboklab(85.4% -0.016 0.1332)
OKLCHoklch(85.4% 0.134 96.8)
XYZxyz(57.6594, 62.6103, 19.8721)
Luminance0.6261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CF5F #5F78E8
analogous
#E88B5F #E8CF5F #BDE85F
triadic
#E8CF5F #5FE8CF #CF5FE8
tetradic
#E8CF5F #5FE88B #5F78E8 #E85FBD
square
#E8CF5F #5FE88B #5F78E8 #E85FBD
split-complementary
#E8CF5F #5FBDE8 #8B5FE8
monochromatic
#B3971A #E0BF29 #E8CF5F #F0DF95 #F7EFCA

Accessibility & contrast

On white

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

On black

13.52
#E8CF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CF5F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CF5F#FFFFFF#000000##000000
##E8CF5F1.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB53
Deuteranopia (green-blind)
#E8D364
Tritanopia (blue-blind)
#F9C1B6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e8cf5f;
/* rgb */ color: rgb(232, 207, 95);
/* oklch */ color: oklch(85.4% 0.134 96.8);
Tailwind
colors: {
  custom: {
    50: '#f2dd90',
    500: '#e8cf5f',
    950: '#000000',
  },
}
SCSS
$custom: #e8cf5f;
$custom-light: #f2dd90;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cf5f",
  "rgb": {
    "r": 232,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 49.051,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85399,
    "c": 0.13417,
    "h": 96.8
  },
  "luminance": 0.62608
}

Semantic roles & 50–950 ramp

primary
#E8CF5F
secondary
#384EB3
accent
#33D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8CF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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