#E8CF5D#E8CF5D

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

Color values

HEX#E8CF5D
RGBrgb(232, 207, 93)
HSLhsl(49, 75%, 64%)
HSVhsv(49, 60%, 91%)
CMYKcmyk(0%, 10.8%, 59.9%, 9%)
CIE-LABlab(83.22, -4.62, 58.53)
CIE-LCHlch(83.22, 58.71, 94.51°)
OKLaboklab(85.38% -0.0166 0.1348)
OKLCHoklch(85.38% 0.136 97)
XYZxyz(57.5697, 62.5744, 19.3995)
Luminance0.6257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CF5D #5D76E8
analogous
#E8895D #E8CF5D #BBE85D
triadic
#E8CF5D #5DE8CF #CF5DE8
tetradic
#E8CF5D #5DE889 #5D76E8 #E85DBB
square
#E8CF5D #5DE889 #5D76E8 #E85DBB
split-complementary
#E8CF5D #5DBBE8 #895DE8
monochromatic
#B19619 #E0BF27 #E8CF5D #F0DF93 #F7EFC8

Accessibility & contrast

On white

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

On black

13.51
#E8CF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CF5D
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CF5D#FFFFFF#000000##000000
##E8CF5D1.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8cf5d;
/* rgb */ color: rgb(232, 207, 93);
/* oklch */ color: oklch(85.4% 0.136 97.0);
Tailwind
colors: {
  custom: {
    50: '#f2dd8f',
    500: '#e8cf5d',
    950: '#000000',
  },
}
SCSS
$custom: #e8cf5d;
$custom-light: #f2dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cf5d",
  "rgb": {
    "r": 232,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 49.209,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85378,
    "c": 0.13586,
    "h": 97
  },
  "luminance": 0.62572
}

Semantic roles & 50–950 ramp

primary
#E8CF5D
secondary
#374DB2
accent
#32D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8CF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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