#E8CF56#E8CF56

#E8CF56 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.3% C 0.141 H 97.6°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#E8CF56
RGBrgb(232, 207, 86)
HSLhsl(50, 76%, 62%)
HSVhsv(50, 63%, 91%)
CMYKcmyk(0%, 10.8%, 62.9%, 9%)
CIE-LABlab(83.16, -5.07, 61.52)
CIE-LCHlch(83.16, 61.73, 94.71°)
OKLaboklab(85.31% -0.0187 0.1403)
OKLCHoklch(85.31% 0.142 97.6)
XYZxyz(57.2737, 62.4560, 17.8407)
Luminance0.6245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CF56 #566FE8
analogous
#E88656 #E8CF56 #B8E856
triadic
#E8CF56 #56E8CF #CF56E8
tetradic
#E8CF56 #56E886 #566FE8 #E856B8
square
#E8CF56 #56E886 #566FE8 #E856B8
split-complementary
#E8CF56 #56B8E8 #8656E8
monochromatic
#AC9317 #E1C020 #E8CF56 #EFDE8C #F7EEC2

Accessibility & contrast

On white

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

On black

13.49
#E8CF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CF56
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CF56#FFFFFF#000000##000000
##E8CF561.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA48
Deuteranopia (green-blind)
#E9D35C
Tritanopia (blue-blind)
#F9C1B5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e8cf56;
/* rgb */ color: rgb(232, 207, 86);
/* oklch */ color: oklch(85.3% 0.141 97.6);
Tailwind
colors: {
  custom: {
    50: '#f3dd8b',
    500: '#e8cf56',
    950: '#000000',
  },
}
SCSS
$custom: #e8cf56;
$custom-light: #f3dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cf56",
  "rgb": {
    "r": 232,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 49.726,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85309,
    "c": 0.1415,
    "h": 97.6
  },
  "luminance": 0.62453
}

Semantic roles & 50–950 ramp

primary
#E8CF56
secondary
#354AAD
accent
#30D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8CF56

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

Preview Lab → · Contrast checker → · Palette generator →

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