#D7D22E#D7D22E

#D7D22E is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.2% C 0.170 H 107.7°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#D7D22E
RGBrgb(215, 210, 46)
HSLhsl(58, 68%, 51%)
HSVhsv(58, 79%, 84%)
CMYKcmyk(0%, 2.3%, 78.6%, 15.7%)
CIE-LABlab(82.24, -15.64, 74.59)
CIE-LCHlch(82.24, 76.21, 101.84°)
OKLaboklab(84.15% -0.0516 0.1618)
OKLCHoklch(84.15% 0.17 107.7)
XYZxyz(51.5662, 60.7393, 11.5918)
Luminance0.6074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D22E #2E33D7
analogous
#D77D2E #D7D22E #87D72E
triadic
#D7D22E #2ED7D2 #D22ED7
tetradic
#D7D22E #2ED77D #2E33D7 #D72E87
square
#D7D22E #2ED77D #2E33D7 #D72E87
split-complementary
#D7D22E #2E87D7 #7D2ED7
monochromatic
#747216 #A8A420 #D7D22E #E1DD61 #EBE895

Accessibility & contrast

On white

1.60
#D7D22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#D7D22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D22E
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D22E#FFFFFF#000000##000000
##D7D22E1.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4C900
Deuteranopia (green-blind)
#E7CF3D
Tritanopia (blue-blind)
#E7C4B4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d22e;
/* rgb */ color: rgb(215, 210, 46);
/* oklch */ color: oklch(84.2% 0.170 107.7);
Tailwind
colors: {
  custom: {
    50: '#e8df76',
    500: '#d7d22e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d22e;
$custom-light: #e8df76;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d22e",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 46
  },
  "hsl": {
    "h": 58.225,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.84153,
    "c": 0.16978,
    "h": 107.7
  },
  "luminance": 0.60738
}

Semantic roles & 50–950 ramp

primary
#D7D22E
secondary
#2C2F7D
accent
#42EB3D
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D7D22E

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

Preview Lab → · Contrast checker → · Palette generator →

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