#E7CA68#E7CA68

#E7CA68 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.4% C 0.122 H 93.2°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#E7CA68
RGBrgb(231, 202, 104)
HSLhsl(46, 73%, 66%)
HSVhsv(46, 55%, 91%)
CMYKcmyk(0%, 12.6%, 55%, 9.4%)
CIE-LABlab(81.96, -1.66, 52.01)
CIE-LCHlch(81.96, 52.04, 91.83°)
OKLaboklab(84.4% -0.0067 0.1221)
OKLCHoklch(84.4% 0.122 93.2)
XYZxyz(56.5764, 60.2321, 21.7399)
Luminance0.6023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA68 #6885E7
analogous
#E78A68 #E7CA68 #C4E768
triadic
#E7CA68 #68E7CA #CA68E7
tetradic
#E7CA68 #68E78A #6885E7 #E768C4
square
#E7CA68 #68E78A #6885E7 #E768C4
split-complementary
#E7CA68 #68C4E7 #8A68E7
monochromatic
#B7941D #DFB733 #E7CA68 #EFDD9D #F8EFD2

Accessibility & contrast

On white

1.61
#E7CA68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#E7CA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CA68
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CA68#FFFFFF#000000##000000
##E7CA681.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC75F
Deuteranopia (green-blind)
#E3D06C
Tritanopia (blue-blind)
#F7BDB4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e7ca68;
/* rgb */ color: rgb(231, 202, 104);
/* oklch */ color: oklch(84.4% 0.122 93.2);
Tailwind
colors: {
  custom: {
    50: '#f1d996',
    500: '#e7ca68',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca68;
$custom-light: #f1d996;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca68",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 104
  },
  "hsl": {
    "h": 46.299,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84402,
    "c": 0.12227,
    "h": 93.2
  },
  "luminance": 0.60229
}

Semantic roles & 50–950 ramp

primary
#E7CA68
secondary
#3C58B7
accent
#3ED511
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7CA68

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

Preview Lab → · Contrast checker → · Palette generator →

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