#E0CA68#E0CA68

#E0CA68 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.8% C 0.121 H 96.9°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#E0CA68
RGBrgb(224, 202, 104)
HSLhsl(49, 66%, 64%)
HSVhsv(49, 54%, 88%)
CMYKcmyk(0%, 9.8%, 53.6%, 12.2%)
CIE-LABlab(81.34, -4.54, 51.12)
CIE-LCHlch(81.34, 51.32, 95.07°)
OKLaboklab(83.76% -0.0146 0.1203)
OKLCHoklch(83.76% 0.121 96.9)
XYZxyz(54.3616, 59.0901, 21.6361)
Luminance0.5909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CA68 #687EE0
analogous
#E08E68 #E0CA68 #BAE068
triadic
#E0CA68 #68E0CA #CA68E0
tetradic
#E0CA68 #68E08E #687EE0 #E068BA
square
#E0CA68 #68E08E #687EE0 #E068BA
split-complementary
#E0CA68 #68BAE0 #8E68E0
monochromatic
#AB9223 #D6B835 #E0CA68 #EADC9B #F5EECE

Accessibility & contrast

On white

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

On black

12.82
#E0CA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CA68
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CA68#FFFFFF#000000##000000
##E0CA681.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e0ca68;
/* rgb */ color: rgb(224, 202, 104);
/* oklch */ color: oklch(83.8% 0.121 96.9);
Tailwind
colors: {
  custom: {
    50: '#ecd996',
    500: '#e0ca68',
    950: '#000000',
  },
}
SCSS
$custom: #e0ca68;
$custom-light: #ecd996;
$custom-dark: #000000;
JSON
{
  "hex": "#e0ca68",
  "rgb": {
    "r": 224,
    "g": 202,
    "b": 104
  },
  "hsl": {
    "h": 49,
    "s": 65.934,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83762,
    "c": 0.12117,
    "h": 96.9
  },
  "luminance": 0.59088
}

Semantic roles & 50–950 ramp

primary
#E0CA68
secondary
#4054AD
accent
#39CE18
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140D
muted
#85837F

Preview Lab

Preview with #E0CA68

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

Preview Lab → · Contrast checker → · Palette generator →

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