#E7CD5F#E7CD5F

#E7CD5F is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.9% C 0.133 H 96.1°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#E7CD5F
RGBrgb(231, 205, 95)
HSLhsl(49, 74%, 64%)
HSVhsv(49, 59%, 91%)
CMYKcmyk(0%, 11.3%, 58.9%, 9.4%)
CIE-LABlab(82.64, -3.87, 56.95)
CIE-LCHlch(82.64, 57.08, 93.89°)
OKLaboklab(84.9% -0.0141 0.1317)
OKLCHoklch(84.9% 0.133 96.1)
XYZxyz(56.8542, 61.4804, 19.6964)
Luminance0.6148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD5F #5F79E7
analogous
#E7895F #E7CD5F #BDE75F
triadic
#E7CD5F #5FE7CD #CD5FE7
tetradic
#E7CD5F #5FE789 #5F79E7 #E75FBD
square
#E7CD5F #5FE789 #5F79E7 #E75FBD
split-complementary
#E7CD5F #5FBDE7 #895FE7
monochromatic
#B1941B #DFBC2A #E7CD5F #EFDE94 #F7EEC9

Accessibility & contrast

On white

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

On black

13.30
#E7CD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD5F
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD5F#FFFFFF#000000##000000
##E7CD5F1.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC954
Deuteranopia (green-blind)
#E6D164
Tritanopia (blue-blind)
#F8BFB5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7cd5f;
/* rgb */ color: rgb(231, 205, 95);
/* oklch */ color: oklch(84.9% 0.133 96.1);
Tailwind
colors: {
  custom: {
    50: '#f2dc90',
    500: '#e7cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd5f;
$custom-light: #f2dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd5f",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 48.529,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84903,
    "c": 0.1325,
    "h": 96.1
  },
  "luminance": 0.61478
}

Semantic roles & 50–950 ramp

primary
#E7CD5F
secondary
#3950B2
accent
#35D60F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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