#EDD962#EDD962

#EDD962 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.9% C 0.140 H 99.9°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#EDD962
RGBrgb(237, 217, 98)
HSLhsl(51, 79%, 66%)
HSVhsv(51, 59%, 93%)
CMYKcmyk(0%, 8.4%, 58.6%, 7.1%)
CIE-LABlab(86.26, -7.29, 59.83)
CIE-LCHlch(86.26, 60.27, 96.94°)
OKLaboklab(87.91% -0.024 0.1381)
OKLCHoklch(87.91% 0.14 99.9)
XYZxyz(61.9449, 68.5146, 21.5146)
Luminance0.6851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD962 #6276ED
analogous
#ED9362 #EDD962 #BBED62
triadic
#EDD962 #62EDD9 #D962ED
tetradic
#EDD962 #62ED93 #6276ED #ED62BB
square
#EDD962 #62ED93 #6276ED #ED62BB
split-complementary
#EDD962 #62BBED #9362ED
monochromatic
#BFA616 #E7CC2B #EDD962 #F3E699 #FAF4D0

Accessibility & contrast

On white

1.43
#EDD962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#EDD962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD962
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD962#FFFFFF#000000##000000
##EDD9621.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD355
Deuteranopia (green-blind)
#F1DB68
Tritanopia (blue-blind)
#FECBBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #edd962;
/* rgb */ color: rgb(237, 217, 98);
/* oklch */ color: oklch(87.9% 0.140 99.9);
Tailwind
colors: {
  custom: {
    50: '#f6e493',
    500: '#edd962',
    950: '#000000',
  },
}
SCSS
$custom: #edd962;
$custom-light: #f6e493;
$custom-dark: #000000;
JSON
{
  "hex": "#edd962",
  "rgb": {
    "r": 237,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 51.367,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87909,
    "c": 0.1402,
    "h": 99.9
  },
  "luminance": 0.68512
}

Semantic roles & 50–950 ramp

primary
#EDD962
secondary
#3649BD
accent
#28DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EDD962

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

Preview Lab → · Contrast checker → · Palette generator →

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