#E7CE5B#E7CE5B

#E7CE5B is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 85.1% C 0.137 H 97.1°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#E7CE5B
RGBrgb(231, 206, 91)
HSLhsl(49, 74%, 63%)
HSVhsv(49, 61%, 91%)
CMYKcmyk(0%, 10.8%, 60.6%, 9.4%)
CIE-LABlab(82.85, -4.66, 58.98)
CIE-LCHlch(82.85, 59.17, 94.51°)
OKLaboklab(85.06% -0.0169 0.1356)
OKLCHoklch(85.06% 0.137 97.1)
XYZxyz(56.9170, 61.8895, 18.8433)
Luminance0.6189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CE5B #5B74E7
analogous
#E7885B #E7CE5B #BAE75B
triadic
#E7CE5B #5BE7CE #CE5BE7
tetradic
#E7CE5B #5BE788 #5B74E7 #E75BBA
square
#E7CE5B #5BE788 #5B74E7 #E75BBA
split-complementary
#E7CE5B #5BBAE7 #885BE7
monochromatic
#AE9419 #DFBE26 #E7CE5B #EFDE90 #F7EEC6

Accessibility & contrast

On white

1.57
#E7CE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#E7CE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CE5B
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CE5B#FFFFFF#000000##000000
##E7CE5B1.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C94F
Deuteranopia (green-blind)
#E7D261
Tritanopia (blue-blind)
#F8C0B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7ce5b;
/* rgb */ color: rgb(231, 206, 91);
/* oklch */ color: oklch(85.1% 0.137 97.1);
Tailwind
colors: {
  custom: {
    50: '#f2dc8e',
    500: '#e7ce5b',
    950: '#000000',
  },
}
SCSS
$custom: #e7ce5b;
$custom-light: #f2dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ce5b",
  "rgb": {
    "r": 231,
    "g": 206,
    "b": 91
  },
  "hsl": {
    "h": 49.286,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85064,
    "c": 0.13663,
    "h": 97.1
  },
  "luminance": 0.61887
}

Semantic roles & 50–950 ramp

primary
#E7CE5B
secondary
#374DAF
accent
#33D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7CE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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