#D2D33F#D2D33F

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

Color values

HEX#D2D33F
RGBrgb(210, 211, 63)
HSLhsl(60, 63%, 54%)
HSVhsv(60, 70%, 83%)
CMYKcmyk(0.5%, 0%, 70.1%, 17.3%)
CIE-LABlab(82.19, -17.54, 68.99)
CIE-LCHlch(82.19, 71.19, 104.27°)
OKLaboklab(84.04% -0.0552 0.1531)
OKLCHoklch(84.04% 0.163 109.8)
XYZxyz(50.7716, 60.6505, 13.7339)
Luminance0.6065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D33F #403FD3
analogous
#D38A3F #D2D33F #88D33F
triadic
#D2D33F #3FD2D3 #D33FD2
tetradic
#D2D33F #3FD38A #403FD3 #D33F88
square
#D2D33F #3FD38A #403FD3 #D33F88
split-complementary
#D2D33F #3F88D3 #8A3FD3
monochromatic
#7B7B1C #ACAD28 #D2D33F #DEDE71 #E9EAA3

Accessibility & contrast

On white

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

On black

13.13
#D2D33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D33F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D33F#FFFFFF#000000##000000
##D2D33F1.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d33f;
/* rgb */ color: rgb(210, 211, 63);
/* oklch */ color: oklch(84.0% 0.163 109.8);
Tailwind
colors: {
  custom: {
    50: '#e3e07e',
    500: '#d2d33f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d33f;
$custom-light: #e3e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d33f",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 63
  },
  "hsl": {
    "h": 60.405,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.84044,
    "c": 0.16271,
    "h": 109.8
  },
  "luminance": 0.60649
}

Semantic roles & 50–950 ramp

primary
#D2D33F
secondary
#343383
accent
#42E643
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D2D33F

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

Preview Lab → · Contrast checker → · Palette generator →

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