#E4C95C#E4C95C

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

Color values

HEX#E4C95C
RGBrgb(228, 201, 92)
HSLhsl(48, 72%, 63%)
HSVhsv(48, 60%, 89%)
CMYKcmyk(0%, 11.8%, 59.6%, 10.6%)
CIE-LABlab(81.31, -3.27, 56.75)
CIE-LCHlch(81.31, 56.84, 93.30°)
OKLaboklab(83.79% -0.0126 0.131)
OKLCHoklch(83.79% 0.132 95.5)
XYZxyz(54.8156, 59.0426, 18.6322)
Luminance0.5904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C95C #5C77E4
analogous
#E4855C #E4C95C #BBE45C
triadic
#E4C95C #5CE4C9 #C95CE4
tetradic
#E4C95C #5CE485 #5C77E4 #E45CBB
square
#E4C95C #5CE485 #5C77E4 #E45CBB
split-complementary
#E4C95C #5CBBE4 #855CE4
monochromatic
#AA8D1C #DBB827 #E4C95C #EDDA91 #F5ECC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4C95C#FFFFFF#000000##000000
##E4C95C1.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)
#DBC551
Deuteranopia (green-blind)
#E2CE61
Tritanopia (blue-blind)
#F5BBB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e4c95c;
/* rgb */ color: rgb(228, 201, 92);
/* oklch */ color: oklch(83.8% 0.132 95.5);
Tailwind
colors: {
  custom: {
    50: '#efd98e',
    500: '#e4c95c',
    950: '#000000',
  },
}
SCSS
$custom: #e4c95c;
$custom-light: #efd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c95c",
  "rgb": {
    "r": 228,
    "g": 201,
    "b": 92
  },
  "hsl": {
    "h": 48.088,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83785,
    "c": 0.13161,
    "h": 95.5
  },
  "luminance": 0.5904
}

Semantic roles & 50–950 ramp

primary
#E4C95C
secondary
#3950AB
accent
#38D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C95C

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

Preview Lab → · Contrast checker → · Palette generator →

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