#E7CB6A#E7CB6A

#E7CB6A is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.6% C 0.121 H 93.6°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#E7CB6A
RGBrgb(231, 203, 106)
HSLhsl(47, 72%, 66%)
HSVhsv(47, 54%, 91%)
CMYKcmyk(0%, 12.1%, 54.1%, 9.4%)
CIE-LABlab(82.24, -2.02, 51.39)
CIE-LCHlch(82.24, 51.42, 92.25°)
OKLaboklab(84.63% -0.0075 0.1209)
OKLCHoklch(84.63% 0.121 93.6)
XYZxyz(56.9146, 60.7440, 22.3597)
Luminance0.6074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CB6A #6A86E7
analogous
#E78C6A #E7CB6A #C4E76A
triadic
#E7CB6A #6AE7CB #CB6AE7
tetradic
#E7CB6A #6AE78C #6A86E7 #E76AC4
square
#E7CB6A #6AE78C #6A86E7 #E76AC4
split-complementary
#E7CB6A #6AC4E7 #8C6AE7
monochromatic
#B9961E #DFB935 #E7CB6A #EFDD9F #F8F0D3

Accessibility & contrast

On white

1.60
#E7CB6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#E7CB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CB6A
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CB6A#FFFFFF#000000##000000
##E7CB6A1.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC861
Deuteranopia (green-blind)
#E4D06E
Tritanopia (blue-blind)
#F7BEB5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cb6a;
/* rgb */ color: rgb(231, 203, 106);
/* oklch */ color: oklch(84.6% 0.121 93.6);
Tailwind
colors: {
  custom: {
    50: '#f1da97',
    500: '#e7cb6a',
    950: '#000000',
  },
}
SCSS
$custom: #e7cb6a;
$custom-light: #f1da97;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cb6a",
  "rgb": {
    "r": 231,
    "g": 203,
    "b": 106
  },
  "hsl": {
    "h": 46.56,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.84628,
    "c": 0.12116,
    "h": 93.6
  },
  "luminance": 0.60741
}

Semantic roles & 50–950 ramp

primary
#E7CB6A
secondary
#3D58B9
accent
#3DD411
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E7CB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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