#E7CE5F#E7CE5F

#E7CE5F is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 85.1% C 0.133 H 96.7°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#E7CE5F
RGBrgb(231, 206, 95)
HSLhsl(49, 74%, 64%)
HSVhsv(49, 59%, 91%)
CMYKcmyk(0%, 10.8%, 58.9%, 9.4%)
CIE-LABlab(82.89, -4.38, 57.24)
CIE-LCHlch(82.89, 57.41, 94.38°)
OKLaboklab(85.11% -0.0156 0.1324)
OKLCHoklch(85.11% 0.133 96.7)
XYZxyz(57.0942, 61.9604, 19.7764)
Luminance0.6196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CE5F #5F78E7
analogous
#E78A5F #E7CE5F #BCE75F
triadic
#E7CE5F #5FE7CE #CE5FE7
tetradic
#E7CE5F #5FE78A #5F78E7 #E75FBC
square
#E7CE5F #5FE78A #5F78E7 #E75FBC
split-complementary
#E7CE5F #5FBCE7 #8A5FE7
monochromatic
#B1951B #DFBE2A #E7CE5F #EFDE94 #F7EFC9

Accessibility & contrast

On white

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

On black

13.39
#E7CE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CE5F
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CE5F#FFFFFF#000000##000000
##E7CE5F1.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA54
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#F8C0B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7ce5f;
/* rgb */ color: rgb(231, 206, 95);
/* oklch */ color: oklch(85.1% 0.133 96.7);
Tailwind
colors: {
  custom: {
    50: '#f2dc90',
    500: '#e7ce5f',
    950: '#000000',
  },
}
SCSS
$custom: #e7ce5f;
$custom-light: #f2dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ce5f",
  "rgb": {
    "r": 231,
    "g": 206,
    "b": 95
  },
  "hsl": {
    "h": 48.971,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85106,
    "c": 0.13328,
    "h": 96.7
  },
  "luminance": 0.61958
}

Semantic roles & 50–950 ramp

primary
#E7CE5F
secondary
#394FB2
accent
#34D60F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7CE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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