#E5CF5F#E5CF5F

#E5CF5F is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 85.1% C 0.134 H 98.3°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#E5CF5F
RGBrgb(229, 207, 95)
HSLhsl(50, 72%, 64%)
HSVhsv(50, 59%, 90%)
CMYKcmyk(0%, 9.6%, 58.5%, 10.2%)
CIE-LABlab(82.97, -5.72, 57.28)
CIE-LCHlch(82.97, 57.57, 95.70°)
OKLaboklab(85.13% -0.0193 0.1325)
OKLCHoklch(85.13% 0.134 98.3)
XYZxyz(56.6937, 62.1123, 19.8268)
Luminance0.6211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CF5F #5F75E5
analogous
#E58C5F #E5CF5F #B8E55F
triadic
#E5CF5F #5FE5CF #CF5FE5
tetradic
#E5CF5F #5FE58C #5F75E5 #E55FB8
square
#E5CF5F #5FE58C #5F75E5 #E55FB8
split-complementary
#E5CF5F #5FB8E5 #8C5FE5
monochromatic
#AD961C #DCBF2A #E5CF5F #EEDF94 #F6EFC8

Accessibility & contrast

On white

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

On black

13.42
#E5CF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CF5F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CF5F#FFFFFF#000000##000000
##E5CF5F1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA53
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#F5C1B6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e5cf5f;
/* rgb */ color: rgb(229, 207, 95);
/* oklch */ color: oklch(85.1% 0.134 98.3);
Tailwind
colors: {
  custom: {
    50: '#f0dd90',
    500: '#e5cf5f',
    950: '#000000',
  },
}
SCSS
$custom: #e5cf5f;
$custom-light: #f0dd90;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cf5f",
  "rgb": {
    "r": 229,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 50.149,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85128,
    "c": 0.1339,
    "h": 98.3
  },
  "luminance": 0.6211
}

Semantic roles & 50–950 ramp

primary
#E5CF5F
secondary
#3A4DAF
accent
#31D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5CF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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