#E6CD5F#E6CD5F

#E6CD5F is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.8% C 0.132 H 96.6°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#E6CD5F
RGBrgb(230, 205, 95)
HSLhsl(49, 73%, 64%)
HSVhsv(49, 59%, 90%)
CMYKcmyk(0%, 10.9%, 58.7%, 9.8%)
CIE-LABlab(82.55, -4.28, 56.83)
CIE-LCHlch(82.55, 56.99, 94.31°)
OKLaboklab(84.81% -0.0153 0.1315)
OKLCHoklch(84.81% 0.132 96.6)
XYZxyz(56.5323, 61.3144, 19.6813)
Luminance0.6131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CD5F #5F78E6
analogous
#E6895F #E6CD5F #BBE65F
triadic
#E6CD5F #5FE6CD #CD5FE6
tetradic
#E6CD5F #5FE689 #5F78E6 #E65FBB
square
#E6CD5F #5FE689 #5F78E6 #E65FBB
split-complementary
#E6CD5F #5FBBE6 #895FE6
monochromatic
#AF941B #DEBC2A #E6CD5F #EEDE94 #F7EEC9

Accessibility & contrast

On white

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

On black

13.26
#E6CD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CD5F
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CD5F#FFFFFF#000000##000000
##E6CD5F1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e6cd5f;
/* rgb */ color: rgb(230, 205, 95);
/* oklch */ color: oklch(84.8% 0.132 96.6);
Tailwind
colors: {
  custom: {
    50: '#f1dc90',
    500: '#e6cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #e6cd5f;
$custom-light: #f1dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cd5f",
  "rgb": {
    "r": 230,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 48.889,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84812,
    "c": 0.13238,
    "h": 96.6
  },
  "luminance": 0.61312
}

Semantic roles & 50–950 ramp

primary
#E6CD5F
secondary
#394FB0
accent
#35D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E6CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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