#EDD772#EDD772

#EDD772 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.124 H 97.3°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#EDD772
RGBrgb(237, 215, 114)
HSLhsl(49, 77%, 69%)
HSVhsv(49, 52%, 93%)
CMYKcmyk(0%, 9.3%, 51.9%, 7.1%)
CIE-LABlab(85.92, -5.05, 52.08)
CIE-LCHlch(85.92, 52.32, 95.54°)
OKLaboklab(87.69% -0.0158 0.1231)
OKLCHoklch(87.69% 0.124 97.3)
XYZxyz(62.2649, 67.8228, 25.7276)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD772 #7288ED
analogous
#ED9A72 #EDD772 #C6ED72
triadic
#EDD772 #72EDD7 #D772ED
tetradic
#EDD772 #72ED9A #7288ED #ED72C6
square
#EDD772 #72ED9A #7288ED #ED72C6
split-complementary
#EDD772 #72C6ED #9A72ED
monochromatic
#CBAB1A #E6C83C #EDD772 #F4E6A8 #FBF6DF

Accessibility & contrast

On white

1.44
#EDD772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#EDD772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD772
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD772#FFFFFF#000000##000000
##EDD7721.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D369
Deuteranopia (green-blind)
#EEDA76
Tritanopia (blue-blind)
#FDCAC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #edd772;
/* rgb */ color: rgb(237, 215, 114);
/* oklch */ color: oklch(87.7% 0.124 97.3);
Tailwind
colors: {
  custom: {
    50: '#f5e39d',
    500: '#edd772',
    950: '#000000',
  },
}
SCSS
$custom: #edd772;
$custom-light: #f5e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#edd772",
  "rgb": {
    "r": 237,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 49.268,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87689,
    "c": 0.12409,
    "h": 97.3
  },
  "luminance": 0.6782
}

Semantic roles & 50–950 ramp

primary
#EDD772
secondary
#3E56C6
accent
#31DA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EDD772

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

Preview Lab → · Contrast checker → · Palette generator →

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