#D0D945#D0D945

#D0D945 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.2% C 0.166 H 112.8°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#D0D945
RGBrgb(208, 217, 69)
HSLhsl(64, 66%, 56%)
HSVhsv(64, 68%, 85%)
CMYKcmyk(4.1%, 0%, 68.2%, 14.9%)
CIE-LABlab(83.69, -21.01, 68.25)
CIE-LCHlch(83.69, 71.41, 107.11°)
OKLaboklab(85.22% -0.0642 0.1525)
OKLCHoklch(85.22% 0.166 112.8)
XYZxyz(51.9010, 63.4664, 15.1453)
Luminance0.6347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D945 #4E45D9
analogous
#D99845 #D0D945 #86D945
triadic
#D0D945 #45D0D9 #D945D0
tetradic
#D0D945 #45D998 #4E45D9 #D94586
square
#D0D945 #45D998 #4E45D9 #D94586
split-complementary
#D0D945 #4586D9 #9845D9
monochromatic
#81881C #B2BB26 #D0D945 #DDE378 #EAEEAB

Accessibility & contrast

On white

1.53
#D0D945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#D0D945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D945
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D945#FFFFFF#000000##000000
##D0D9451.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2D
Deuteranopia (green-blind)
#E9D250
Tritanopia (blue-blind)
#DECCBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d0d945;
/* rgb */ color: rgb(208, 217, 69);
/* oklch */ color: oklch(85.2% 0.166 112.8);
Tailwind
colors: {
  custom: {
    50: '#e2e481',
    500: '#d0d945',
    950: '#000000',
  },
}
SCSS
$custom: #d0d945;
$custom-light: #e2e481;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d945",
  "rgb": {
    "r": 208,
    "g": 217,
    "b": 69
  },
  "hsl": {
    "h": 63.649,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85215,
    "c": 0.1655,
    "h": 112.8
  },
  "luminance": 0.63465
}

Semantic roles & 50–950 ramp

primary
#D0D945
secondary
#3A348E
accent
#3FE949
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0D945

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

Preview Lab → · Contrast checker → · Palette generator →

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