#D0D02F#D0D02F

#D0D02F is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.1% C 0.169 H 109.6°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#D0D02F
RGBrgb(208, 208, 47)
HSLhsl(60, 63%, 50%)
HSVhsv(60, 77%, 82%)
CMYKcmyk(0%, 0%, 77.4%, 18.4%)
CIE-LABlab(81.14, -17.57, 73.12)
CIE-LCHlch(81.14, 75.20, 103.51°)
OKLaboklab(83.14% -0.0565 0.1591)
OKLCHoklch(83.14% 0.169 109.6)
XYZxyz(49.0833, 58.7284, 11.4390)
Luminance0.5873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D02F #2F2FD0
analogous
#D0802F #D0D02F #80D02F
triadic
#D0D02F #2FD0D0 #D02FD0
tetradic
#D0D02F #2FD080 #2F2FD0 #D02F80
square
#D0D02F #2FD080 #2F2FD0 #D02F80
split-complementary
#D0D02F #2F7FD0 #7F2FD0
monochromatic
#6C6C18 #9E9E24 #D0D02F #DBDB61 #E7E793

Accessibility & contrast

On white

1.65
#D0D02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#D0D02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D02F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D02F#FFFFFF#000000##000000
##D0D02F1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C700
Deuteranopia (green-blind)
#E3CC3D
Tritanopia (blue-blind)
#DFC2B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d0d02f;
/* rgb */ color: rgb(208, 208, 47);
/* oklch */ color: oklch(83.1% 0.169 109.6);
Tailwind
colors: {
  custom: {
    50: '#e2de76',
    500: '#d0d02f',
    950: '#000000',
  },
}
SCSS
$custom: #d0d02f;
$custom-light: #e2de76;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d02f",
  "rgb": {
    "r": 208,
    "g": 208,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.83141,
    "c": 0.16881,
    "h": 109.6
  },
  "luminance": 0.58727
}

Semantic roles & 50–950 ramp

primary
#D0D02F
secondary
#2E2E76
accent
#42E642
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D0D02F

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

Preview Lab → · Contrast checker → · Palette generator →

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