#EDD171#EDD171

#EDD171 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.5% C 0.120 H 93.5°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#EDD171
RGBrgb(237, 209, 113)
HSLhsl(46, 78%, 69%)
HSVhsv(46, 52%, 93%)
CMYKcmyk(0%, 11.8%, 52.3%, 7.1%)
CIE-LABlab(84.38, -2.08, 50.72)
CIE-LCHlch(84.38, 50.76, 92.34°)
OKLaboklab(86.47% -0.0073 0.12)
OKLCHoklch(86.47% 0.12 93.5)
XYZxyz(60.7084, 64.8004, 24.9296)
Luminance0.6480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD171 #718DED
analogous
#ED9371 #EDD171 #CBED71
triadic
#EDD171 #71EDD1 #D171ED
tetradic
#EDD171 #71ED93 #718DED #ED71CB
square
#EDD171 #71ED93 #718DED #ED71CB
split-complementary
#EDD171 #71CBED #9371ED
monochromatic
#CAA21A #E6BF3B #EDD171 #F4E3A7 #FBF4DE

Accessibility & contrast

On white

1.50
#EDD171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#EDD171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD171
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD171#FFFFFF#000000##000000
##EDD1711.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE68
Deuteranopia (green-blind)
#EAD675
Tritanopia (blue-blind)
#FDC4BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #edd171;
/* rgb */ color: rgb(237, 209, 113);
/* oklch */ color: oklch(86.5% 0.120 93.5);
Tailwind
colors: {
  custom: {
    50: '#f5de9c',
    500: '#edd171',
    950: '#000000',
  },
}
SCSS
$custom: #edd171;
$custom-light: #f5de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#edd171",
  "rgb": {
    "r": 237,
    "g": 209,
    "b": 113
  },
  "hsl": {
    "h": 46.452,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.8647,
    "c": 0.12024,
    "h": 93.5
  },
  "luminance": 0.64798
}

Semantic roles & 50–950 ramp

primary
#EDD171
secondary
#3D5CC5
accent
#3ADA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EDD171

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

Preview Lab → · Contrast checker → · Palette generator →

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