#E4CE5F#E4CE5F

#E4CE5F is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.8% C 0.133 H 98.2°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#E4CE5F
RGBrgb(228, 206, 95)
HSLhsl(50, 71%, 63%)
HSVhsv(50, 58%, 89%)
CMYKcmyk(0%, 9.6%, 58.3%, 10.6%)
CIE-LABlab(82.63, -5.62, 56.87)
CIE-LCHlch(82.63, 57.15, 95.64°)
OKLaboklab(84.83% -0.019 0.1316)
OKLCHoklch(84.83% 0.133 98.2)
XYZxyz(56.1340, 61.4652, 19.7314)
Luminance0.6146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CE5F #5F75E4
analogous
#E48B5F #E4CE5F #B7E45F
triadic
#E4CE5F #5FE4CE #CE5FE4
tetradic
#E4CE5F #5FE48B #5F75E4 #E45FB7
square
#E4CE5F #5FE48B #5F75E4 #E45FB7
split-complementary
#E4CE5F #5FB7E4 #8B5FE4
monochromatic
#AC941D #DBBE2B #E4CE5F #EDDE93 #F6EEC8

Accessibility & contrast

On white

1.58
#E4CE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#E4CE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CE5F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CE5F#FFFFFF#000000##000000
##E4CE5F1.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C954
Deuteranopia (green-blind)
#E6D164
Tritanopia (blue-blind)
#F4C1B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e4ce5f;
/* rgb */ color: rgb(228, 206, 95);
/* oklch */ color: oklch(84.8% 0.133 98.2);
Tailwind
colors: {
  custom: {
    50: '#efdc90',
    500: '#e4ce5f',
    950: '#000000',
  },
}
SCSS
$custom: #e4ce5f;
$custom-light: #efdc90;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ce5f",
  "rgb": {
    "r": 228,
    "g": 206,
    "b": 95
  },
  "hsl": {
    "h": 50.075,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84834,
    "c": 0.133,
    "h": 98.2
  },
  "luminance": 0.61463
}

Semantic roles & 50–950 ramp

primary
#E4CE5F
secondary
#3A4DAD
accent
#32D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4CE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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