#D0D248#D0D248

#D0D248 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.7% C 0.156 H 110.2°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#D0D248
RGBrgb(208, 210, 72)
HSLhsl(61, 61%, 55%)
HSVhsv(61, 66%, 82%)
CMYKcmyk(1%, 0%, 65.7%, 17.6%)
CIE-LABlab(81.82, -17.41, 65.23)
CIE-LCHlch(81.82, 67.51, 104.94°)
OKLaboklab(83.73% -0.0538 0.1467)
OKLCHoklch(83.73% 0.156 110.2)
XYZxyz(50.2303, 59.9723, 15.0595)
Luminance0.5997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D248 #4A48D2
analogous
#D28F48 #D0D248 #8BD248
triadic
#D0D248 #48D0D2 #D248D0
tetradic
#D0D248 #48D28F #4A48D2 #D2488B
square
#D0D248 #48D28F #4A48D2 #D2488B
split-complementary
#D0D248 #488BD2 #8F48D2
monochromatic
#7F8020 #AFB12C #D0D248 #DDDE79 #E9EAAA

Accessibility & contrast

On white

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

On black

12.99
#D0D248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D248
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D248#FFFFFF#000000##000000
##D0D2481.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0d248;
/* rgb */ color: rgb(208, 210, 72);
/* oklch */ color: oklch(83.7% 0.156 110.2);
Tailwind
colors: {
  custom: {
    50: '#e2df82',
    500: '#d0d248',
    950: '#000000',
  },
}
SCSS
$custom: #d0d248;
$custom-light: #e2df82;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d248",
  "rgb": {
    "r": 208,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 60.87,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83731,
    "c": 0.15622,
    "h": 110.2
  },
  "luminance": 0.59971
}

Semantic roles & 50–950 ramp

primary
#D0D248
secondary
#383787
accent
#44E446
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0D248

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

Preview Lab → · Contrast checker → · Palette generator →

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