#EDE771#EDE771

#EDE771 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 90.9% C 0.140 H 106.2°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#EDE771
RGBrgb(237, 231, 113)
HSLhsl(57, 78%, 69%)
HSVhsv(57, 52%, 93%)
CMYKcmyk(0%, 2.5%, 52.3%, 7.1%)
CIE-LABlab(90.02, -13.15, 57.37)
CIE-LCHlch(90.02, 58.86, 102.91°)
OKLaboklab(90.94% -0.0391 0.1345)
OKLCHoklch(90.94% 0.14 106.2)
XYZxyz(66.4834, 76.3505, 26.8546)
Luminance0.7635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE771 #7177ED
analogous
#EDA971 #EDE771 #B5ED71
triadic
#EDE771 #71EDE7 #E771ED
tetradic
#EDE771 #71EDA9 #7177ED #ED71B5
square
#EDE771 #71EDA9 #7177ED #ED71B5
split-complementary
#EDE771 #71B5ED #A971ED
monochromatic
#CAC11A #E6DE3B #EDE771 #F4F0A7 #FBF9DE

Accessibility & contrast

On white

1.29
#EDE771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#EDE771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE771
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE771#FFFFFF#000000##000000
##EDE7711.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E066
Deuteranopia (green-blind)
#FBE577
Tritanopia (blue-blind)
#FCDACC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ede771;
/* rgb */ color: rgb(237, 231, 113);
/* oklch */ color: oklch(90.9% 0.140 106.2);
Tailwind
colors: {
  custom: {
    50: '#f5ee9d',
    500: '#ede771',
    950: '#000000',
  },
}
SCSS
$custom: #ede771;
$custom-light: #f5ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ede771",
  "rgb": {
    "r": 237,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 57.097,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90943,
    "c": 0.14009,
    "h": 106.2
  },
  "luminance": 0.76349
}

Semantic roles & 50–950 ramp

primary
#EDE771
secondary
#3D43C5
accent
#16DA0C
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EDE771

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

Preview Lab → · Contrast checker → · Palette generator →

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