#E2C95D#E2C95D

#E2C95D is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.6% C 0.131 H 96.4°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#E2C95D
RGBrgb(226, 201, 93)
HSLhsl(49, 70%, 63%)
HSVhsv(49, 59%, 89%)
CMYKcmyk(0%, 11.1%, 58.8%, 11.4%)
CIE-LABlab(81.15, -4.03, 56.06)
CIE-LCHlch(81.15, 56.20, 94.11°)
OKLaboklab(83.61% -0.0145 0.1297)
OKLCHoklch(83.61% 0.131 96.4)
XYZxyz(54.2287, 58.7348, 18.8343)
Luminance0.5873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C95D #5D76E2
analogous
#E2875D #E2C95D #B8E25D
triadic
#E2C95D #5DE2C9 #C95DE2
tetradic
#E2C95D #5DE287 #5D76E2 #E25DB8
square
#E2C95D #5DE287 #5D76E2 #E25DB8
split-complementary
#E2C95D #5DB8E2 #875DE2
monochromatic
#A78D1E #D9B829 #E2C95D #EBDA91 #F5ECC5

Accessibility & contrast

On white

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

On black

12.75
#E2C95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C95D
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C95D#FFFFFF#000000##000000
##E2C95D1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC552
Deuteranopia (green-blind)
#E2CD62
Tritanopia (blue-blind)
#F2BCB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2c95d;
/* rgb */ color: rgb(226, 201, 93);
/* oklch */ color: oklch(83.6% 0.131 96.4);
Tailwind
colors: {
  custom: {
    50: '#eed98e',
    500: '#e2c95d',
    950: '#000000',
  },
}
SCSS
$custom: #e2c95d;
$custom-light: #eed98e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c95d",
  "rgb": {
    "r": 226,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 48.722,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83612,
    "c": 0.1305,
    "h": 96.4
  },
  "luminance": 0.58732
}

Semantic roles & 50–950 ramp

primary
#E2C95D
secondary
#3A4FA9
accent
#38D214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C95D

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

Preview Lab → · Contrast checker → · Palette generator →

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