#E7CE5A#E7CE5A

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

Color values

HEX#E7CE5A
RGBrgb(231, 206, 90)
HSLhsl(49, 75%, 63%)
HSVhsv(49, 61%, 91%)
CMYKcmyk(0%, 10.8%, 61%, 9.4%)
CIE-LABlab(82.85, -4.72, 59.42)
CIE-LCHlch(82.85, 59.60, 94.54°)
OKLaboklab(85.05% -0.0172 0.1364)
OKLCHoklch(85.05% 0.137 97.2)
XYZxyz(56.8742, 61.8723, 18.6177)
Luminance0.6187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CE5A #5A73E7
analogous
#E7885A #E7CE5A #B9E75A
triadic
#E7CE5A #5AE7CE #CE5AE7
tetradic
#E7CE5A #5AE788 #5A73E7 #E75AB9
square
#E7CE5A #5AE788 #5A73E7 #E75AB9
split-complementary
#E7CE5A #5AB9E7 #885AE7
monochromatic
#AD9319 #DFBE25 #E7CE5A #EFDE8F #F7EEC5

Accessibility & contrast

On white

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

On black

13.37
#E7CE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CE5A
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CE5A#FFFFFF#000000##000000
##E7CE5A1.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7ce5a;
/* rgb */ color: rgb(231, 206, 90);
/* oklch */ color: oklch(85.1% 0.137 97.2);
Tailwind
colors: {
  custom: {
    50: '#f2dc8d',
    500: '#e7ce5a',
    950: '#000000',
  },
}
SCSS
$custom: #e7ce5a;
$custom-light: #f2dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ce5a",
  "rgb": {
    "r": 231,
    "g": 206,
    "b": 90
  },
  "hsl": {
    "h": 49.362,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85054,
    "c": 0.13745,
    "h": 97.2
  },
  "luminance": 0.6187
}

Semantic roles & 50–950 ramp

primary
#E7CE5A
secondary
#374CAE
accent
#32D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7CE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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