#E8CF62#E8CF62

#E8CF62 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.4% C 0.132 H 96.5°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#E8CF62
RGBrgb(232, 207, 98)
HSLhsl(49, 74%, 65%)
HSVhsv(49, 58%, 91%)
CMYKcmyk(0%, 10.8%, 57.8%, 9%)
CIE-LABlab(83.27, -4.27, 56.33)
CIE-LCHlch(83.27, 56.49, 94.33°)
OKLaboklab(85.43% -0.015 0.1307)
OKLCHoklch(85.43% 0.132 96.5)
XYZxyz(57.7984, 62.6659, 20.6042)
Luminance0.6266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CF62 #627BE8
analogous
#E88C62 #E8CF62 #BEE862
triadic
#E8CF62 #62E8CF #CF62E8
tetradic
#E8CF62 #62E88C #627BE8 #E862BE
square
#E8CF62 #62E88C #627BE8 #E862BE
split-complementary
#E8CF62 #62BEE8 #8C62E8
monochromatic
#B5981B #E0BF2D #E8CF62 #F0DF97 #F8F0CD

Accessibility & contrast

On white

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

On black

13.53
#E8CF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CF62
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CF62#FFFFFF#000000##000000
##E8CF621.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB57
Deuteranopia (green-blind)
#E8D367
Tritanopia (blue-blind)
#F9C1B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e8cf62;
/* rgb */ color: rgb(232, 207, 98);
/* oklch */ color: oklch(85.4% 0.132 96.5);
Tailwind
colors: {
  custom: {
    50: '#f2dd92',
    500: '#e8cf62',
    950: '#000000',
  },
}
SCSS
$custom: #e8cf62;
$custom-light: #f2dd92;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cf62",
  "rgb": {
    "r": 232,
    "g": 207,
    "b": 98
  },
  "hsl": {
    "h": 48.806,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85432,
    "c": 0.1316,
    "h": 96.5
  },
  "luminance": 0.62663
}

Semantic roles & 50–950 ramp

primary
#E8CF62
secondary
#3950B5
accent
#34D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8CF62

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

Preview Lab → · Contrast checker → · Palette generator →

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