#EDE787#EDE787

#EDE787 is a very light, moderate yellow. Relative luminance 0.769; OKLCH L 91.2% C 0.118 H 105.4°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#EDE787
RGBrgb(237, 231, 135)
HSLhsl(56, 74%, 73%)
HSVhsv(56, 43%, 93%)
CMYKcmyk(0%, 2.5%, 43%, 7.1%)
CIE-LABlab(90.28, -11.18, 47.31)
CIE-LCHlch(90.28, 48.61, 103.30°)
OKLaboklab(91.23% -0.0314 0.1141)
OKLCHoklch(91.23% 0.118 105.4)
XYZxyz(67.8755, 76.9074, 34.1861)
Luminance0.7691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE787 #878DED
analogous
#EDB487 #EDE787 #C0ED87
triadic
#EDE787 #87EDE7 #E787ED
tetradic
#EDE787 #87EDB4 #878DED #ED87C0
square
#EDE787 #87EDB4 #878DED #ED87C0
split-complementary
#EDE787 #87C0ED #B487ED
monochromatic
#D9CE21 #E5DC52 #EDE787 #F5F2BC #FBFAE4

Accessibility & contrast

On white

1.28
#EDE787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#EDE787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE787
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE787#FFFFFF#000000##000000
##EDE7871.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E17F
Deuteranopia (green-blind)
#F9E58B
Tritanopia (blue-blind)
#FADCD0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ede787;
/* rgb */ color: rgb(237, 231, 135);
/* oklch */ color: oklch(91.2% 0.118 105.4);
Tailwind
colors: {
  custom: {
    50: '#f4eeab',
    500: '#ede787',
    950: '#000000',
  },
}
SCSS
$custom: #ede787;
$custom-light: #f4eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#ede787",
  "rgb": {
    "r": 237,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 56.471,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.9123,
    "c": 0.11833,
    "h": 105.4
  },
  "luminance": 0.76906
}

Semantic roles & 50–950 ramp

primary
#EDE787
secondary
#5158C8
accent
#1BD60F
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EDE787

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

Preview Lab → · Contrast checker → · Palette generator →

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