#E2D95C#E2D95C

#E2D95C is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.9% C 0.145 H 105.2°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#E2D95C
RGBrgb(226, 217, 92)
HSLhsl(56, 70%, 62%)
HSVhsv(56, 59%, 89%)
CMYKcmyk(0%, 4%, 59.3%, 11.4%)
CIE-LABlab(85.29, -12.21, 61.11)
CIE-LCHlch(85.29, 62.32, 101.30°)
OKLaboklab(86.89% -0.0381 0.1404)
OKLCHoklch(86.89% 0.145 105.2)
XYZxyz(58.1106, 66.5691, 19.9112)
Luminance0.6657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D95C #5C65E2
analogous
#E2965C #E2D95C #A8E25C
triadic
#E2D95C #5CE2D9 #D95CE2
tetradic
#E2D95C #5CE296 #5C65E2 #E25CA8
square
#E2D95C #5CE296 #5C65E2 #E25CA8
split-complementary
#E2D95C #5CA8E2 #965CE2
monochromatic
#A69D1E #D9CD28 #E2D95C #EBE590 #F4F1C4

Accessibility & contrast

On white

1.47
#E2D95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#E2D95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D95C
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D95C#FFFFFF#000000##000000
##E2D95C1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24E
Deuteranopia (green-blind)
#EED863
Tritanopia (blue-blind)
#F1CCBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d95c;
/* rgb */ color: rgb(226, 217, 92);
/* oklch */ color: oklch(86.9% 0.145 105.2);
Tailwind
colors: {
  custom: {
    50: '#eee48f',
    500: '#e2d95c',
    950: '#000000',
  },
}
SCSS
$custom: #e2d95c;
$custom-light: #eee48f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d95c",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 55.97,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86894,
    "c": 0.14543,
    "h": 105.2
  },
  "luminance": 0.66567
}

Semantic roles & 50–950 ramp

primary
#E2D95C
secondary
#3A41A8
accent
#20D214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D95C

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

Preview Lab → · Contrast checker → · Palette generator →

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