#D2D148#D2D148

#D2D148 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.155 H 108.9°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D2D148
RGBrgb(210, 209, 72)
HSLhsl(60, 61%, 55%)
HSVhsv(60, 66%, 82%)
CMYKcmyk(0%, 0.5%, 65.7%, 17.6%)
CIE-LABlab(81.71, -16.08, 65.17)
CIE-LCHlch(81.71, 67.12, 103.86°)
OKLaboklab(83.68% -0.0502 0.1465)
OKLCHoklch(83.68% 0.155 108.9)
XYZxyz(50.5502, 59.7719, 15.0040)
Luminance0.5977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D148 #4849D2
analogous
#D28C48 #D2D148 #8ED248
triadic
#D2D148 #48D2D1 #D148D2
tetradic
#D2D148 #48D28C #4849D2 #D2488E
square
#D2D148 #48D28C #4849D2 #D2488E
split-complementary
#D2D148 #488ED2 #8C48D2
monochromatic
#807F20 #B1B02C #D2D148 #DEDD79 #EAEAAA

Accessibility & contrast

On white

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

On black

12.95
#D2D148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D148
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D148#FFFFFF#000000##000000
##D2D1481.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C935
Deuteranopia (green-blind)
#E3CD51
Tritanopia (blue-blind)
#E0C4B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d148;
/* rgb */ color: rgb(210, 209, 72);
/* oklch */ color: oklch(83.7% 0.155 108.9);
Tailwind
colors: {
  custom: {
    50: '#e3de82',
    500: '#d2d148',
    950: '#000000',
  },
}
SCSS
$custom: #d2d148;
$custom-light: #e3de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d148",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 59.565,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83683,
    "c": 0.15484,
    "h": 108.9
  },
  "luminance": 0.5977
}

Semantic roles & 50–950 ramp

primary
#D2D148
secondary
#373787
accent
#45E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D148

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

Preview Lab → · Contrast checker → · Palette generator →

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