#E7CD4B#E7CD4B

#E7CD4B is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.7% C 0.148 H 97.8°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#E7CD4B
RGBrgb(231, 205, 75)
HSLhsl(50, 76%, 60%)
HSVhsv(50, 68%, 91%)
CMYKcmyk(0%, 11.3%, 67.5%, 9.4%)
CIE-LABlab(82.47, -5.11, 65.32)
CIE-LCHlch(82.47, 65.52, 94.47°)
OKLaboklab(84.71% -0.02 0.1467)
OKLCHoklch(84.71% 0.148 97.8)
XYZxyz(56.0589, 61.1623, 15.5079)
Luminance0.6116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD4B #4B65E7
analogous
#E77F4B #E7CD4B #B3E74B
triadic
#E7CD4B #4BE7CD #CD4BE7
tetradic
#E7CD4B #4BE77F #4B65E7 #E74BB3
square
#E7CD4B #4BE77F #4B65E7 #E74BB3
split-complementary
#E7CD4B #4BB3E7 #7F4BE7
monochromatic
#A28B16 #D8B91D #E7CD4B #EEDC81 #F5EBB7

Accessibility & contrast

On white

1.59
#E7CD4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#E7CD4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD4B
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD4B#FFFFFF#000000##000000
##E7CD4B1.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C839
Deuteranopia (green-blind)
#E7D152
Tritanopia (blue-blind)
#F9BEB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cd4b;
/* rgb */ color: rgb(231, 205, 75);
/* oklch */ color: oklch(84.7% 0.148 97.8);
Tailwind
colors: {
  custom: {
    50: '#f2db84',
    500: '#e7cd4b',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd4b;
$custom-light: #f2db84;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd4b",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 75
  },
  "hsl": {
    "h": 50,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.84714,
    "c": 0.14801,
    "h": 97.8
  },
  "luminance": 0.6116
}

Semantic roles & 50–950 ramp

primary
#E7CD4B
secondary
#3245A4
accent
#54F335
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E7CD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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