#EDE987#EDE987

#EDE987 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.6% C 0.120 H 106.5°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#EDE987
RGBrgb(237, 233, 135)
HSLhsl(58, 74%, 73%)
HSVhsv(58, 43%, 93%)
CMYKcmyk(0%, 1.7%, 43%, 7.1%)
CIE-LABlab(90.80, -12.17, 47.95)
CIE-LCHlch(90.80, 49.47, 104.25°)
OKLaboklab(91.64% -0.0342 0.1155)
OKLCHoklch(91.64% 0.121 106.5)
XYZxyz(68.4385, 78.0333, 34.3737)
Luminance0.7803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE987 #878BED
analogous
#EDB687 #EDE987 #BEED87
triadic
#EDE987 #87EDE9 #E987ED
tetradic
#EDE987 #87EDB6 #878BED #ED87BE
square
#EDE987 #87EDB6 #878BED #ED87BE
split-complementary
#EDE987 #87BEED #B687ED
monochromatic
#D9D221 #E5DF52 #EDE987 #F5F3BC #FBFAE4

Accessibility & contrast

On white

1.26
#EDE987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.61
#EDE987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE987
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE987#FFFFFF#000000##000000
##EDE9871.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E27F
Deuteranopia (green-blind)
#FAE78B
Tritanopia (blue-blind)
#FADED1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ede987;
/* rgb */ color: rgb(237, 233, 135);
/* oklch */ color: oklch(91.6% 0.120 106.5);
Tailwind
colors: {
  custom: {
    50: '#f4efab',
    500: '#ede987',
    950: '#000000',
  },
}
SCSS
$custom: #ede987;
$custom-light: #f4efab;
$custom-dark: #000000;
JSON
{
  "hex": "#ede987",
  "rgb": {
    "r": 237,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 57.647,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.9164,
    "c": 0.1205,
    "h": 106.5
  },
  "luminance": 0.78032
}

Semantic roles & 50–950 ramp

primary
#EDE987
secondary
#5155C8
accent
#17D60F
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EDE987

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

Preview Lab → · Contrast checker → · Palette generator →

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