#E7CB4E#E7CB4E

#E7CB4E is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.3% C 0.144 H 96.5°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#E7CB4E
RGBrgb(231, 203, 78)
HSLhsl(49, 76%, 61%)
HSVhsv(49, 66%, 91%)
CMYKcmyk(0%, 12.1%, 66.2%, 9.4%)
CIE-LABlab(81.98, -3.92, 63.60)
CIE-LCHlch(81.98, 63.72, 93.53°)
OKLaboklab(84.33% -0.0163 0.1435)
OKLCHoklch(84.33% 0.144 96.5)
XYZxyz(55.6887, 60.2536, 15.9031)
Luminance0.6025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CB4E #4E6AE7
analogous
#E77F4E #E7CB4E #B6E74E
triadic
#E7CB4E #4EE7CB #CB4EE7
tetradic
#E7CB4E #4EE77F #4E6AE7 #E74EB6
square
#E7CB4E #4EE77F #4E6AE7 #E74EB6
split-complementary
#E7CB4E #4EB6E7 #7F4EE7
monochromatic
#A48A16 #DAB81E #E7CB4E #EEDB84 #F6EBBA

Accessibility & contrast

On white

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

On black

13.05
#E7CB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CB4E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CB4E#FFFFFF#000000##000000
##E7CB4E1.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7cb4e;
/* rgb */ color: rgb(231, 203, 78);
/* oklch */ color: oklch(84.3% 0.144 96.5);
Tailwind
colors: {
  custom: {
    50: '#f2da85',
    500: '#e7cb4e',
    950: '#000000',
  },
}
SCSS
$custom: #e7cb4e;
$custom-light: #f2da85;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cb4e",
  "rgb": {
    "r": 231,
    "g": 203,
    "b": 78
  },
  "hsl": {
    "h": 49.02,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84333,
    "c": 0.14441,
    "h": 96.5
  },
  "luminance": 0.60251
}

Semantic roles & 50–950 ramp

primary
#E7CB4E
secondary
#3348A6
accent
#32D80D
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7CB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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