#E7CB4B#E7CB4B

#E7CB4B is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.3% C 0.147 H 96.7°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#E7CB4B
RGBrgb(231, 203, 75)
HSLhsl(49, 76%, 60%)
HSVhsv(49, 68%, 91%)
CMYKcmyk(0%, 12.1%, 67.5%, 9.4%)
CIE-LABlab(81.95, -4.09, 64.79)
CIE-LCHlch(81.95, 64.92, 93.61°)
OKLaboklab(84.31% -0.0171 0.1455)
OKLCHoklch(84.31% 0.147 96.7)
XYZxyz(55.5836, 60.2116, 15.3495)
Luminance0.6021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CB4B #4B67E7
analogous
#E77D4B #E7CB4B #B5E74B
triadic
#E7CB4B #4BE7CB #CB4BE7
tetradic
#E7CB4B #4BE77D #4B67E7 #E74BB5
square
#E7CB4B #4BE77D #4B67E7 #E74BB5
split-complementary
#E7CB4B #4BB5E7 #7D4BE7
monochromatic
#A28916 #D8B61D #E7CB4B #EEDB81 #F5EAB7

Accessibility & contrast

On white

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

On black

13.04
#E7CB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CB4B
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CB4B#FFFFFF#000000##000000
##E7CB4B1.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73A
Deuteranopia (green-blind)
#E6D052
Tritanopia (blue-blind)
#F9BCB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e7cb4b;
/* rgb */ color: rgb(231, 203, 75);
/* oklch */ color: oklch(84.3% 0.147 96.7);
Tailwind
colors: {
  custom: {
    50: '#f2da84',
    500: '#e7cb4b',
    950: '#000000',
  },
}
SCSS
$custom: #e7cb4b;
$custom-light: #f2da84;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cb4b",
  "rgb": {
    "r": 231,
    "g": 203,
    "b": 75
  },
  "hsl": {
    "h": 49.231,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.84307,
    "c": 0.14654,
    "h": 96.7
  },
  "luminance": 0.60209
}

Semantic roles & 50–950 ramp

primary
#E7CB4B
secondary
#3246A4
accent
#57F335
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7CB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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