#D2D339#D2D339

#D2D339 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.0% C 0.166 H 109.9°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#D2D339
RGBrgb(210, 211, 57)
HSLhsl(60, 64%, 53%)
HSVhsv(60, 73%, 83%)
CMYKcmyk(0.5%, 0%, 73%, 17.3%)
CIE-LABlab(82.16, -17.82, 71.01)
CIE-LCHlch(82.16, 73.21, 104.09°)
OKLaboklab(84.01% -0.0565 0.1563)
OKLCHoklch(84.01% 0.166 109.9)
XYZxyz(50.6129, 60.5871, 12.8985)
Luminance0.6059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D339 #3A39D3
analogous
#D38739 #D2D339 #85D339
triadic
#D2D339 #39D2D3 #D339D2
tetradic
#D2D339 #39D387 #3A39D3 #D33985
square
#D2D339 #39D387 #3A39D3 #D33985
split-complementary
#D2D339 #3985D3 #8739D3
monochromatic
#77771A #A8A926 #D2D339 #DDDE6B #E9E99D

Accessibility & contrast

On white

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

On black

13.12
#D2D339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D339
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D339#FFFFFF#000000##000000
##D2D3391.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA18
Deuteranopia (green-blind)
#E6CE45
Tritanopia (blue-blind)
#E1C6B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d339;
/* rgb */ color: rgb(210, 211, 57);
/* oklch */ color: oklch(84.0% 0.166 109.9);
Tailwind
colors: {
  custom: {
    50: '#e4e07b',
    500: '#d2d339',
    950: '#000000',
  },
}
SCSS
$custom: #d2d339;
$custom-light: #e4e07b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d339",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 57
  },
  "hsl": {
    "h": 60.39,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.84006,
    "c": 0.16618,
    "h": 109.9
  },
  "luminance": 0.60586
}

Semantic roles & 50–950 ramp

primary
#D2D339
secondary
#31317F
accent
#41E742
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2D339

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

Preview Lab → · Contrast checker → · Palette generator →

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