#E2CA68#E2CA68

#E2CA68 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.9% C 0.121 H 95.8°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#E2CA68
RGBrgb(226, 202, 104)
HSLhsl(48, 68%, 65%)
HSVhsv(48, 54%, 89%)
CMYKcmyk(0%, 10.6%, 54%, 11.4%)
CIE-LABlab(81.52, -3.71, 51.37)
CIE-LCHlch(81.52, 51.51, 94.14°)
OKLaboklab(83.94% -0.0124 0.1208)
OKLCHoklch(83.94% 0.121 95.8)
XYZxyz(54.9853, 59.4117, 21.6653)
Luminance0.5941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA68 #6880E2
analogous
#E28D68 #E2CA68 #BDE268
triadic
#E2CA68 #68E2CA #CA68E2
tetradic
#E2CA68 #68E28D #6880E2 #E268BD
square
#E2CA68 #68E28D #6880E2 #E268BD
split-complementary
#E2CA68 #68BDE2 #8D68E2
monochromatic
#AE9221 #D8B835 #E2CA68 #ECDC9B #F6EECF

Accessibility & contrast

On white

1.63
#E2CA68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#E2CA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA68
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA68#FFFFFF#000000##000000
##E2CA681.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC65F
Deuteranopia (green-blind)
#E1CE6C
Tritanopia (blue-blind)
#F2BDB4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2ca68;
/* rgb */ color: rgb(226, 202, 104);
/* oklch */ color: oklch(83.9% 0.121 95.8);
Tailwind
colors: {
  custom: {
    50: '#eed996',
    500: '#e2ca68',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca68;
$custom-light: #eed996;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca68",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 104
  },
  "hsl": {
    "h": 48.197,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83943,
    "c": 0.12143,
    "h": 95.8
  },
  "luminance": 0.59409
}

Semantic roles & 50–950 ramp

primary
#E2CA68
secondary
#3F55B0
accent
#3AD016
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2CA68

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

Preview Lab → · Contrast checker → · Palette generator →

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