#D2D37D#D2D37D

#D2D37D is a very light, moderate yellow. Relative luminance 0.618; OKLCH L 84.7% C 0.109 H 109.1°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#D2D37D
RGBrgb(210, 211, 125)
HSLhsl(61, 49%, 66%)
HSVhsv(61, 41%, 83%)
CMYKcmyk(0.5%, 0%, 40.8%, 17.3%)
CIE-LABlab(82.79, -12.80, 42.40)
CIE-LCHlch(82.79, 44.29, 106.80°)
OKLaboklab(84.72% -0.0356 0.1028)
OKLCHoklch(84.72% 0.109 109.1)
XYZxyz(53.5751, 61.7719, 28.4990)
Luminance0.6177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D37D #7E7DD3
analogous
#D3A97D #D2D37D #A7D37D
triadic
#D2D37D #7DD2D3 #D37DD2
tetradic
#D2D37D #7DD3A9 #7E7DD3 #D37DA7
square
#D2D37D #7DD3A9 #7E7DD3 #D37DA7
split-complementary
#D2D37D #7DA7D3 #A97DD3
monochromatic
#9EA036 #C2C44F #D2D37D #E2E2AB #F2F2D8

Accessibility & contrast

On white

1.57
#D2D37D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#D2D37D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D37D
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D37D#FFFFFF#000000##000000
##D2D37D1.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC76
Deuteranopia (green-blind)
#E1D081
Tritanopia (blue-blind)
#DDC9BE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d37d;
/* rgb */ color: rgb(210, 211, 125);
/* oklch */ color: oklch(84.7% 0.109 109.1);
Tailwind
colors: {
  custom: {
    50: '#e1e0a4',
    500: '#d2d37d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d37d;
$custom-light: #e1e0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d37d",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 125
  },
  "hsl": {
    "h": 60.698,
    "s": 49.425,
    "l": 65.882
  },
  "oklch": {
    "l": 0.84718,
    "c": 0.10873,
    "h": 109.1
  },
  "luminance": 0.61771
}

Semantic roles & 50–950 ramp

primary
#D2D37D
secondary
#5150A4
accent
#29BD2A
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D37D

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

Preview Lab → · Contrast checker → · Palette generator →

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