#EDE870#EDE870

#EDE870 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.1% C 0.142 H 106.7°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#EDE870
RGBrgb(237, 232, 112)
HSLhsl(58, 78%, 68%)
HSVhsv(58, 53%, 93%)
CMYKcmyk(0%, 2.1%, 52.7%, 7.1%)
CIE-LABlab(90.27, -13.72, 58.11)
CIE-LCHlch(90.27, 59.71, 103.29°)
OKLaboklab(91.14% -0.0409 0.136)
OKLCHoklch(91.14% 0.142 106.7)
XYZxyz(66.7081, 76.8895, 26.6533)
Luminance0.7689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE870 #7075ED
analogous
#EDA970 #EDE870 #B3ED70
triadic
#EDE870 #70EDE8 #E870ED
tetradic
#EDE870 #70EDA9 #7075ED #ED70B3
square
#EDE870 #70EDA9 #7075ED #ED70B3
split-complementary
#EDE870 #70B3ED #A970ED
monochromatic
#C9C219 #E6DF3A #EDE870 #F4F1A6 #FBF9DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EDE870#FFFFFF#000000##000000
##EDE8701.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)
#F9E064
Deuteranopia (green-blind)
#FBE676
Tritanopia (blue-blind)
#FCDBCD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ede870;
/* rgb */ color: rgb(237, 232, 112);
/* oklch */ color: oklch(91.1% 0.142 106.7);
Tailwind
colors: {
  custom: {
    50: '#f5ef9c',
    500: '#ede870',
    950: '#000000',
  },
}
SCSS
$custom: #ede870;
$custom-light: #f5ef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ede870",
  "rgb": {
    "r": 237,
    "g": 232,
    "b": 112
  },
  "hsl": {
    "h": 57.6,
    "s": 77.64,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91137,
    "c": 0.14202,
    "h": 106.7
  },
  "luminance": 0.76888
}

Semantic roles & 50–950 ramp

primary
#EDE870
secondary
#3C41C5
accent
#14DA0C
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #EDE870

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

Preview Lab → · Contrast checker → · Palette generator →

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