#E7CE4B#E7CE4B

#E7CE4B is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.9% C 0.149 H 98.3°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#E7CE4B
RGBrgb(231, 206, 75)
HSLhsl(50, 76%, 60%)
HSVhsv(50, 68%, 91%)
CMYKcmyk(0%, 10.8%, 67.5%, 9.4%)
CIE-LABlab(82.72, -5.62, 65.59)
CIE-LCHlch(82.72, 65.83, 94.90°)
OKLaboklab(84.92% -0.0214 0.1472)
OKLCHoklch(84.92% 0.149 98.3)
XYZxyz(56.2989, 61.6422, 15.5879)
Luminance0.6164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CE4B #4B64E7
analogous
#E7804B #E7CE4B #B2E74B
triadic
#E7CE4B #4BE7CE #CE4BE7
tetradic
#E7CE4B #4BE780 #4B64E7 #E74BB2
square
#E7CE4B #4BE780 #4B64E7 #E74BB2
split-complementary
#E7CE4B #4BB2E7 #804BE7
monochromatic
#A28C16 #D8BA1D #E7CE4B #EEDD81 #F5EBB7

Accessibility & contrast

On white

1.58
#E7CE4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#E7CE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CE4B
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CE4B#FFFFFF#000000##000000
##E7CE4B1.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C939
Deuteranopia (green-blind)
#E8D252
Tritanopia (blue-blind)
#F9BFB3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7ce4b;
/* rgb */ color: rgb(231, 206, 75);
/* oklch */ color: oklch(84.9% 0.149 98.3);
Tailwind
colors: {
  custom: {
    50: '#f2dc84',
    500: '#e7ce4b',
    950: '#000000',
  },
}
SCSS
$custom: #e7ce4b;
$custom-light: #f2dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ce4b",
  "rgb": {
    "r": 231,
    "g": 206,
    "b": 75
  },
  "hsl": {
    "h": 50.385,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.84917,
    "c": 0.14876,
    "h": 98.3
  },
  "luminance": 0.6164
}

Semantic roles & 50–950 ramp

primary
#E7CE4B
secondary
#3244A4
accent
#53F335
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E7CE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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