#E8CF5B#E8CF5B

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

Color values

HEX#E8CF5B
RGBrgb(232, 207, 91)
HSLhsl(49, 75%, 63%)
HSVhsv(49, 61%, 91%)
CMYKcmyk(0%, 10.8%, 60.8%, 9%)
CIE-LABlab(83.20, -4.75, 59.39)
CIE-LCHlch(83.20, 59.58, 94.57°)
OKLaboklab(85.36% -0.0172 0.1364)
OKLCHoklch(85.36% 0.138 97.2)
XYZxyz(57.4823, 62.5394, 18.9390)
Luminance0.6254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CF5B #5B74E8
analogous
#E8885B #E8CF5B #BAE85B
triadic
#E8CF5B #5BE8CF #CF5BE8
tetradic
#E8CF5B #5BE888 #5B74E8 #E85BBA
square
#E8CF5B #5BE888 #5B74E8 #E85BBA
split-complementary
#E8CF5B #5BBAE8 #885BE8
monochromatic
#B09519 #E0BF25 #E8CF5B #F0DF91 #F7EEC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8CF5B#FFFFFF#000000##000000
##E8CF5B1.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)
#E2CA4E
Deuteranopia (green-blind)
#E8D361
Tritanopia (blue-blind)
#F9C1B6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e8cf5b;
/* rgb */ color: rgb(232, 207, 91);
/* oklch */ color: oklch(85.4% 0.138 97.2);
Tailwind
colors: {
  custom: {
    50: '#f2dd8e',
    500: '#e8cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #e8cf5b;
$custom-light: #f2dd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cf5b",
  "rgb": {
    "r": 232,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 49.362,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85358,
    "c": 0.13751,
    "h": 97.2
  },
  "luminance": 0.62537
}

Semantic roles & 50–950 ramp

primary
#E8CF5B
secondary
#374CB1
accent
#32D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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