#E7CB5A#E7CB5A

#E7CB5A is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.4% C 0.135 H 95.4°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#E7CB5A
RGBrgb(231, 203, 90)
HSLhsl(48, 75%, 63%)
HSVhsv(48, 61%, 91%)
CMYKcmyk(0%, 12.1%, 61%, 9.4%)
CIE-LABlab(82.08, -3.19, 58.57)
CIE-LCHlch(82.08, 58.65, 93.11°)
OKLaboklab(84.45% -0.0128 0.1346)
OKLCHoklch(84.45% 0.135 95.4)
XYZxyz(56.1588, 60.4417, 18.3792)
Luminance0.6044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CB5A #5A76E7
analogous
#E7845A #E7CB5A #BCE75A
triadic
#E7CB5A #5AE7CB #CB5AE7
tetradic
#E7CB5A #5AE784 #5A76E7 #E75ABC
square
#E7CB5A #5AE784 #5A76E7 #E75ABC
split-complementary
#E7CB5A #5ABCE7 #845AE7
monochromatic
#AD9019 #DFBA25 #E7CB5A #EFDC8F #F7EDC5

Accessibility & contrast

On white

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

On black

13.09
#E7CB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CB5A
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CB5A#FFFFFF#000000##000000
##E7CB5A1.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74E
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#F8BDB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e7cb5a;
/* rgb */ color: rgb(231, 203, 90);
/* oklch */ color: oklch(84.4% 0.135 95.4);
Tailwind
colors: {
  custom: {
    50: '#f2da8d',
    500: '#e7cb5a',
    950: '#000000',
  },
}
SCSS
$custom: #e7cb5a;
$custom-light: #f2da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cb5a",
  "rgb": {
    "r": 231,
    "g": 203,
    "b": 90
  },
  "hsl": {
    "h": 48.085,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84446,
    "c": 0.13516,
    "h": 95.4
  },
  "luminance": 0.60439
}

Semantic roles & 50–950 ramp

primary
#E7CB5A
secondary
#374FAE
accent
#36D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7CB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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