#EDD474#EDD474

#EDD474 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 87.1% C 0.120 H 95.1°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#EDD474
RGBrgb(237, 212, 116)
HSLhsl(48, 77%, 69%)
HSVhsv(48, 51%, 93%)
CMYKcmyk(0%, 10.5%, 51.1%, 7.1%)
CIE-LABlab(85.18, -3.36, 50.23)
CIE-LCHlch(85.18, 50.35, 93.82°)
OKLaboklab(87.11% -0.0107 0.1192)
OKLCHoklch(87.11% 0.12 95.1)
XYZxyz(61.6230, 66.3550, 26.0815)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD474 #748DED
analogous
#ED9874 #EDD474 #CAED74
triadic
#EDD474 #74EDD4 #D474ED
tetradic
#EDD474 #74ED98 #748DED #ED74CA
square
#EDD474 #74ED98 #748DED #ED74CA
split-complementary
#EDD474 #74CAED #9874ED
monochromatic
#CCA71A #E6C33E #EDD474 #F4E5AA #FBF6E0

Accessibility & contrast

On white

1.47
#EDD474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#EDD474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD474
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD474#FFFFFF#000000##000000
##EDD4741.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06C
Deuteranopia (green-blind)
#ECD878
Tritanopia (blue-blind)
#FDC7BE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #edd474;
/* rgb */ color: rgb(237, 212, 116);
/* oklch */ color: oklch(87.1% 0.120 95.1);
Tailwind
colors: {
  custom: {
    50: '#f5e19e',
    500: '#edd474',
    950: '#000000',
  },
}
SCSS
$custom: #edd474;
$custom-light: #f5e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#edd474",
  "rgb": {
    "r": 237,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 47.603,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.87111,
    "c": 0.1197,
    "h": 95.1
  },
  "luminance": 0.66352
}

Semantic roles & 50–950 ramp

primary
#EDD474
secondary
#3F5BC6
accent
#37D90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EDD474

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

Preview Lab → · Contrast checker → · Palette generator →

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