#E7CB6B#E7CB6B

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

Color values

HEX#E7CB6B
RGBrgb(231, 203, 107)
HSLhsl(46, 72%, 66%)
HSVhsv(46, 54%, 91%)
CMYKcmyk(0%, 12.1%, 53.7%, 9.4%)
CIE-LABlab(82.25, -1.94, 50.92)
CIE-LCHlch(82.25, 50.96, 92.18°)
OKLaboklab(84.64% -0.0072 0.12)
OKLCHoklch(84.64% 0.12 93.4)
XYZxyz(56.9669, 60.7649, 22.6352)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CB6B #6B87E7
analogous
#E78D6B #E7CB6B #C5E76B
triadic
#E7CB6B #6BE7CB #CB6BE7
tetradic
#E7CB6B #6BE78D #6B87E7 #E76BC5
square
#E7CB6B #6BE78D #6B87E7 #E76BC5
split-complementary
#E7CB6B #6BC5E7 #8D6BE7
monochromatic
#BA961E #DEB836 #E7CB6B #F0DEA0 #F8F0D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7CB6B#FFFFFF#000000##000000
##E7CB6B1.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)
#DDC862
Deuteranopia (green-blind)
#E4D06F
Tritanopia (blue-blind)
#F7BEB5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cb6b;
/* rgb */ color: rgb(231, 203, 107);
/* oklch */ color: oklch(84.6% 0.120 93.4);
Tailwind
colors: {
  custom: {
    50: '#f1da98',
    500: '#e7cb6b',
    950: '#000000',
  },
}
SCSS
$custom: #e7cb6b;
$custom-light: #f1da98;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cb6b",
  "rgb": {
    "r": 231,
    "g": 203,
    "b": 107
  },
  "hsl": {
    "h": 46.452,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8464,
    "c": 0.12023,
    "h": 93.4
  },
  "luminance": 0.60762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7CB6B

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

Preview Lab → · Contrast checker → · Palette generator →

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