#D2D239#D2D239

#D2D239 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.8% C 0.165 H 109.5°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#D2D239
RGBrgb(210, 210, 57)
HSLhsl(60, 63%, 52%)
HSVhsv(60, 73%, 82%)
CMYKcmyk(0%, 0%, 72.9%, 17.6%)
CIE-LABlab(81.89, -17.32, 70.76)
CIE-LCHlch(81.89, 72.85, 103.76°)
OKLaboklab(83.79% -0.0551 0.1558)
OKLCHoklch(83.79% 0.165 109.5)
XYZxyz(50.3653, 60.0917, 12.8159)
Luminance0.6009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D239 #3939D2
analogous
#D28639 #D2D239 #86D239
triadic
#D2D239 #39D2D2 #D239D2
tetradic
#D2D239 #39D286 #3939D2 #D23986
square
#D2D239 #39D286 #3939D2 #D23986
split-complementary
#D2D239 #3986D2 #8639D2
monochromatic
#76761B #A8A826 #D2D239 #DDDD6B #E9E99D

Accessibility & contrast

On white

1.61
#D2D239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#D2D239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D239
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D239#FFFFFF#000000##000000
##D2D2391.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C919
Deuteranopia (green-blind)
#E5CE45
Tritanopia (blue-blind)
#E1C5B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d239;
/* rgb */ color: rgb(210, 210, 57);
/* oklch */ color: oklch(83.8% 0.165 109.5);
Tailwind
colors: {
  custom: {
    50: '#e4df7a',
    500: '#d2d239',
    950: '#000000',
  },
}
SCSS
$custom: #d2d239;
$custom-light: #e4df7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d239",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 57
  },
  "hsl": {
    "h": 60,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.83792,
    "c": 0.16522,
    "h": 109.5
  },
  "luminance": 0.6009
}

Semantic roles & 50–950 ramp

primary
#D2D239
secondary
#31317E
accent
#42E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2D239

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

Preview Lab → · Contrast checker → · Palette generator →

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