#E4C95D#E4C95D

#E4C95D is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.8% C 0.131 H 95.4°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#E4C95D
RGBrgb(228, 201, 93)
HSLhsl(48, 71%, 63%)
HSVhsv(48, 59%, 89%)
CMYKcmyk(0%, 11.8%, 59.2%, 10.6%)
CIE-LABlab(81.32, -3.20, 56.31)
CIE-LCHlch(81.32, 56.40, 93.25°)
OKLaboklab(83.8% -0.0123 0.1302)
OKLCHoklch(83.8% 0.131 95.4)
XYZxyz(54.8596, 59.0602, 18.8639)
Luminance0.5906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C95D #5D78E4
analogous
#E4855D #E4C95D #BBE45D
triadic
#E4C95D #5DE4C9 #C95DE4
tetradic
#E4C95D #5DE485 #5D78E4 #E45DBB
square
#E4C95D #5DE485 #5D78E4 #E45DBB
split-complementary
#E4C95D #5DBBE4 #855DE4
monochromatic
#AA8E1C #DBB829 #E4C95D #EDDA91 #F5ECC6

Accessibility & contrast

On white

1.64
#E4C95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#E4C95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C95D
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C95D#FFFFFF#000000##000000
##E4C95D1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC552
Deuteranopia (green-blind)
#E2CE62
Tritanopia (blue-blind)
#F5BBB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e4c95d;
/* rgb */ color: rgb(228, 201, 93);
/* oklch */ color: oklch(83.8% 0.131 95.4);
Tailwind
colors: {
  custom: {
    50: '#efd98e',
    500: '#e4c95d',
    950: '#000000',
  },
}
SCSS
$custom: #e4c95d;
$custom-light: #efd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c95d",
  "rgb": {
    "r": 228,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 48,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83796,
    "c": 0.13077,
    "h": 95.4
  },
  "luminance": 0.59058
}

Semantic roles & 50–950 ramp

primary
#E4C95D
secondary
#3950AC
accent
#39D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4C95D

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

Preview Lab → · Contrast checker → · Palette generator →

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