#EDD961#EDD961

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

Color values

HEX#EDD961
RGBrgb(237, 217, 97)
HSLhsl(51, 80%, 65%)
HSVhsv(51, 59%, 93%)
CMYKcmyk(0%, 8.4%, 59.1%, 7.1%)
CIE-LABlab(86.25, -7.36, 60.26)
CIE-LCHlch(86.25, 60.70, 96.96°)
OKLaboklab(87.9% -0.0243 0.1389)
OKLCHoklch(87.9% 0.141 99.9)
XYZxyz(61.8979, 68.4959, 21.2675)
Luminance0.6849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD961 #6175ED
analogous
#ED9361 #EDD961 #BBED61
triadic
#EDD961 #61EDD9 #D961ED
tetradic
#EDD961 #61ED93 #6175ED #ED61BB
square
#EDD961 #61ED93 #6175ED #ED61BB
split-complementary
#EDD961 #61BBED #9361ED
monochromatic
#BEA616 #E7CC2A #EDD961 #F3E698 #FAF3CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EDD961#FFFFFF#000000##000000
##EDD9611.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)
#ECD354
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FECBBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #edd961;
/* rgb */ color: rgb(237, 217, 97);
/* oklch */ color: oklch(87.9% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#f6e492',
    500: '#edd961',
    950: '#000000',
  },
}
SCSS
$custom: #edd961;
$custom-light: #f6e492;
$custom-dark: #000000;
JSON
{
  "hex": "#edd961",
  "rgb": {
    "r": 237,
    "g": 217,
    "b": 97
  },
  "hsl": {
    "h": 51.429,
    "s": 79.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.87899,
    "c": 0.14104,
    "h": 99.9
  },
  "luminance": 0.68493
}

Semantic roles & 50–950 ramp

primary
#EDD961
secondary
#3649BD
accent
#28DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EDD961

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

Preview Lab → · Contrast checker → · Palette generator →

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