#E7CB5F#E7CB5F

#E7CB5F is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.5% C 0.131 H 94.9°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#E7CB5F
RGBrgb(231, 203, 95)
HSLhsl(48, 74%, 64%)
HSVhsv(48, 59%, 91%)
CMYKcmyk(0%, 12.1%, 58.9%, 9.4%)
CIE-LABlab(82.13, -2.84, 56.37)
CIE-LCHlch(82.13, 56.45, 92.89°)
OKLaboklab(84.5% -0.0112 0.1305)
OKLCHoklch(84.5% 0.131 94.9)
XYZxyz(56.3789, 60.5297, 19.5380)
Luminance0.6053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CB5F #5F7BE7
analogous
#E7875F #E7CB5F #BFE75F
triadic
#E7CB5F #5FE7CB #CB5FE7
tetradic
#E7CB5F #5FE787 #5F7BE7 #E75FBF
square
#E7CB5F #5FE787 #5F7BE7 #E75FBF
split-complementary
#E7CB5F #5FBFE7 #875FE7
monochromatic
#B1921B #DFBA2A #E7CB5F #EFDC94 #F7EEC9

Accessibility & contrast

On white

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

On black

13.11
#E7CB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CB5F
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CB5F#FFFFFF#000000##000000
##E7CB5F1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC754
Deuteranopia (green-blind)
#E5D064
Tritanopia (blue-blind)
#F8BDB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e7cb5f;
/* rgb */ color: rgb(231, 203, 95);
/* oklch */ color: oklch(84.5% 0.131 94.9);
Tailwind
colors: {
  custom: {
    50: '#f2da90',
    500: '#e7cb5f',
    950: '#000000',
  },
}
SCSS
$custom: #e7cb5f;
$custom-light: #f2da90;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cb5f",
  "rgb": {
    "r": 231,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 47.647,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84499,
    "c": 0.13099,
    "h": 94.9
  },
  "luminance": 0.60527
}

Semantic roles & 50–950 ramp

primary
#E7CB5F
secondary
#3951B2
accent
#38D60F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7CB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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