#E4C85F#E4C85F

#E4C85F is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.6% C 0.128 H 94.5°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#E4C85F
RGBrgb(228, 200, 95)
HSLhsl(47, 71%, 63%)
HSVhsv(47, 58%, 89%)
CMYKcmyk(0%, 12.3%, 58.3%, 10.6%)
CIE-LABlab(81.09, -2.54, 55.13)
CIE-LCHlch(81.09, 55.19, 92.64°)
OKLaboklab(83.62% -0.0101 0.1279)
OKLCHoklch(83.62% 0.128 94.5)
XYZxyz(54.7170, 58.6314, 19.2591)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C85F #5F7BE4
analogous
#E4855F #E4C85F #BEE45F
triadic
#E4C85F #5FE4C8 #C85FE4
tetradic
#E4C85F #5FE485 #5F7BE4 #E45FBE
square
#E4C85F #5FE485 #5F7BE4 #E45FBE
split-complementary
#E4C85F #5FBEE4 #855FE4
monochromatic
#AC8E1D #DBB62B #E4C85F #EDDA93 #F6ECC8

Accessibility & contrast

On white

1.65
#E4C85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#E4C85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C85F
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C85F#FFFFFF#000000##000000
##E4C85F1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC454
Deuteranopia (green-blind)
#E1CD64
Tritanopia (blue-blind)
#F5BAB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e4c85f;
/* rgb */ color: rgb(228, 200, 95);
/* oklch */ color: oklch(83.6% 0.128 94.5);
Tailwind
colors: {
  custom: {
    50: '#efd890',
    500: '#e4c85f',
    950: '#000000',
  },
}
SCSS
$custom: #e4c85f;
$custom-light: #efd890;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c85f",
  "rgb": {
    "r": 228,
    "g": 200,
    "b": 95
  },
  "hsl": {
    "h": 47.368,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83616,
    "c": 0.1283,
    "h": 94.5
  },
  "luminance": 0.58629
}

Semantic roles & 50–950 ramp

primary
#E4C85F
secondary
#3A52AD
accent
#3BD312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4C85F

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

Preview Lab → · Contrast checker → · Palette generator →

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