#E5CD5F#E5CD5F

#E5CD5F is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.7% C 0.132 H 97.1°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#E5CD5F
RGBrgb(229, 205, 95)
HSLhsl(49, 72%, 64%)
HSVhsv(49, 59%, 90%)
CMYKcmyk(0%, 10.5%, 58.5%, 10.2%)
CIE-LABlab(82.46, -4.70, 56.70)
CIE-LCHlch(82.46, 56.90, 94.74°)
OKLaboklab(84.72% -0.0164 0.1313)
OKLCHoklch(84.72% 0.132 97.1)
XYZxyz(56.2122, 61.1494, 19.6663)
Luminance0.6115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CD5F #5F77E5
analogous
#E58A5F #E5CD5F #BAE55F
triadic
#E5CD5F #5FE5CD #CD5FE5
tetradic
#E5CD5F #5FE58A #5F77E5 #E55FBA
square
#E5CD5F #5FE58A #5F77E5 #E55FBA
split-complementary
#E5CD5F #5FBAE5 #8A5FE5
monochromatic
#AD931C #DCBD2A #E5CD5F #EEDD94 #F6EEC8

Accessibility & contrast

On white

1.59
#E5CD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#E5CD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CD5F
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CD5F#FFFFFF#000000##000000
##E5CD5F1.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC954
Deuteranopia (green-blind)
#E5D164
Tritanopia (blue-blind)
#F5BFB5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cd5f;
/* rgb */ color: rgb(229, 205, 95);
/* oklch */ color: oklch(84.7% 0.132 97.1);
Tailwind
colors: {
  custom: {
    50: '#f0dc90',
    500: '#e5cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #e5cd5f;
$custom-light: #f0dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cd5f",
  "rgb": {
    "r": 229,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 49.254,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84721,
    "c": 0.13228,
    "h": 97.1
  },
  "luminance": 0.61147
}

Semantic roles & 50–950 ramp

primary
#E5CD5F
secondary
#3A4FAF
accent
#34D411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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