#D2D150#D2D150

#D2D150 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.8% C 0.149 H 108.8°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#D2D150
RGBrgb(210, 209, 80)
HSLhsl(60, 59%, 57%)
HSVhsv(60, 62%, 82%)
CMYKcmyk(0%, 0.5%, 61.9%, 17.6%)
CIE-LABlab(81.77, -15.60, 62.02)
CIE-LCHlch(81.77, 63.95, 104.12°)
OKLaboklab(83.75% -0.048 0.141)
OKLCHoklch(83.75% 0.149 108.8)
XYZxyz(50.8284, 59.8832, 16.4690)
Luminance0.5988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D150 #5051D2
analogous
#D29050 #D2D150 #92D250
triadic
#D2D150 #50D2D1 #D150D2
tetradic
#D2D150 #50D290 #5051D2 #D25092
square
#D2D150 #50D290 #5051D2 #D25092
split-complementary
#D2D150 #5092D2 #9050D2
monochromatic
#858522 #B6B52F #D2D150 #DFDE81 #EBEBB1

Accessibility & contrast

On white

1.62
#D2D150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#D2D150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D150
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D150#FFFFFF#000000##000000
##D2D1501.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C940
Deuteranopia (green-blind)
#E3CD58
Tritanopia (blue-blind)
#E0C4B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d150;
/* rgb */ color: rgb(210, 209, 80);
/* oklch */ color: oklch(83.8% 0.149 108.8);
Tailwind
colors: {
  custom: {
    50: '#e3de87',
    500: '#d2d150',
    950: '#000000',
  },
}
SCSS
$custom: #d2d150;
$custom-light: #e3de87;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d150",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 80
  },
  "hsl": {
    "h": 59.538,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83751,
    "c": 0.14897,
    "h": 108.8
  },
  "luminance": 0.59882
}

Semantic roles & 50–950 ramp

primary
#D2D150
secondary
#3A3B8C
accent
#47E246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D150

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

Preview Lab → · Contrast checker → · Palette generator →

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