#EDD87F#EDD87F

#EDD87F is a very light, moderate yellow. Relative luminance 0.686; OKLCH L 88.1% C 0.112 H 96.5°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#EDD87F
RGBrgb(237, 216, 127)
HSLhsl(49, 75%, 71%)
HSVhsv(49, 46%, 93%)
CMYKcmyk(0%, 8.9%, 46.4%, 7.1%)
CIE-LABlab(86.33, -4.41, 46.30)
CIE-LCHlch(86.33, 46.51, 95.44°)
OKLaboklab(88.07% -0.0126 0.1114)
OKLCHoklch(88.07% 0.112 96.5)
XYZxyz(63.3135, 68.6509, 29.9905)
Luminance0.6865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD87F #7F94ED
analogous
#EDA17F #EDD87F #CBED7F
triadic
#EDD87F #7FEDD8 #D87FED
tetradic
#EDD87F #7FEDA1 #7F94ED #ED7FCB
square
#EDD87F #7FEDA1 #7F94ED #ED7FCB
split-complementary
#EDD87F #7FCBED #A17FED
monochromatic
#D4B11E #E5C849 #EDD87F #F5E8B5 #FBF7E4

Accessibility & contrast

On white

1.43
#EDD87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#EDD87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD87F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD87F#FFFFFF#000000##000000
##EDD87F1.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D478
Deuteranopia (green-blind)
#EEDB83
Tritanopia (blue-blind)
#FCCCC3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #edd87f;
/* rgb */ color: rgb(237, 216, 127);
/* oklch */ color: oklch(88.1% 0.112 96.5);
Tailwind
colors: {
  custom: {
    50: '#f5e3a5',
    500: '#edd87f',
    950: '#000000',
  },
}
SCSS
$custom: #edd87f;
$custom-light: #f5e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#edd87f",
  "rgb": {
    "r": 237,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 48.545,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88067,
    "c": 0.11206,
    "h": 96.5
  },
  "luminance": 0.68649
}

Semantic roles & 50–950 ramp

primary
#EDD87F
secondary
#4961C7
accent
#34D80E
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EDD87F

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

Preview Lab → · Contrast checker → · Palette generator →

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