#E2C968#E2C968

#E2C968 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.7% C 0.121 H 95.2°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#E2C968
RGBrgb(226, 201, 104)
HSLhsl(48, 68%, 65%)
HSVhsv(48, 54%, 89%)
CMYKcmyk(0%, 11.1%, 54%, 11.4%)
CIE-LABlab(81.26, -3.20, 51.07)
CIE-LCHlch(81.26, 51.17, 93.58°)
OKLaboklab(83.74% -0.0109 0.1201)
OKLCHoklch(83.74% 0.121 95.2)
XYZxyz(54.7514, 58.9439, 21.5874)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C968 #6881E2
analogous
#E28C68 #E2C968 #BEE268
triadic
#E2C968 #68E2C9 #C968E2
tetradic
#E2C968 #68E28C #6881E2 #E268BE
square
#E2C968 #68E28C #6881E2 #E268BE
split-complementary
#E2C968 #68BEE2 #8C68E2
monochromatic
#AE9121 #D8B735 #E2C968 #ECDB9B #F6EECF

Accessibility & contrast

On white

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

On black

12.79
#E2C968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C968
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C968#FFFFFF#000000##000000
##E2C9681.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55F
Deuteranopia (green-blind)
#E1CD6C
Tritanopia (blue-blind)
#F2BCB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2c968;
/* rgb */ color: rgb(226, 201, 104);
/* oklch */ color: oklch(83.7% 0.121 95.2);
Tailwind
colors: {
  custom: {
    50: '#eed996',
    500: '#e2c968',
    950: '#000000',
  },
}
SCSS
$custom: #e2c968;
$custom-light: #eed996;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c968",
  "rgb": {
    "r": 226,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 47.705,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8374,
    "c": 0.12063,
    "h": 95.2
  },
  "luminance": 0.58942
}

Semantic roles & 50–950 ramp

primary
#E2C968
secondary
#3F56B0
accent
#3CD016
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C968

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

Preview Lab → · Contrast checker → · Palette generator →

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