#EDD372#EDD372

#EDD372 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.9% C 0.121 H 94.7°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#EDD372
RGBrgb(237, 211, 114)
HSLhsl(47, 77%, 69%)
HSVhsv(47, 52%, 93%)
CMYKcmyk(0%, 11%, 51.9%, 7.1%)
CIE-LABlab(84.90, -3.02, 50.86)
CIE-LCHlch(84.90, 50.95, 93.39°)
OKLaboklab(86.88% -0.0099 0.1204)
OKLCHoklch(86.88% 0.121 94.7)
XYZxyz(61.2587, 65.8106, 25.3923)
Luminance0.6581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD372 #728CED
analogous
#ED9672 #EDD372 #CAED72
triadic
#EDD372 #72EDD3 #D372ED
tetradic
#EDD372 #72ED96 #728CED #ED72CA
square
#EDD372 #72ED96 #728CED #ED72CA
split-complementary
#EDD372 #72CAED #9672ED
monochromatic
#CBA51A #E6C23C #EDD372 #F4E4A8 #FBF5DF

Accessibility & contrast

On white

1.48
#EDD372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#EDD372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD372
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD372#FFFFFF#000000##000000
##EDD3721.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF69
Deuteranopia (green-blind)
#EBD876
Tritanopia (blue-blind)
#FDC6BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #edd372;
/* rgb */ color: rgb(237, 211, 114);
/* oklch */ color: oklch(86.9% 0.121 94.7);
Tailwind
colors: {
  custom: {
    50: '#f5e09d',
    500: '#edd372',
    950: '#000000',
  },
}
SCSS
$custom: #edd372;
$custom-light: #f5e09d;
$custom-dark: #000000;
JSON
{
  "hex": "#edd372",
  "rgb": {
    "r": 237,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 47.317,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86884,
    "c": 0.12083,
    "h": 94.7
  },
  "luminance": 0.65808
}

Semantic roles & 50–950 ramp

primary
#EDD372
secondary
#3E5AC6
accent
#37DA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EDD372

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

Preview Lab → · Contrast checker → · Palette generator →

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