#D0D74F#D0D74F

#D0D74F is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.9% C 0.156 H 112.1°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#D0D74F
RGBrgb(208, 215, 79)
HSLhsl(63, 63%, 58%)
HSVhsv(63, 63%, 84%)
CMYKcmyk(3.3%, 0%, 63.3%, 15.7%)
CIE-LABlab(83.22, -19.45, 63.90)
CIE-LCHlch(83.22, 66.80, 106.93°)
OKLaboklab(84.86% -0.0589 0.1449)
OKLCHoklch(84.86% 0.156 112.1)
XYZxyz(51.7256, 62.5764, 16.7493)
Luminance0.6258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D74F #564FD7
analogous
#D79A4F #D0D74F #8CD74F
triadic
#D0D74F #4FD0D7 #D74FD0
tetradic
#D0D74F #4FD79A #564FD7 #D74F8C
square
#D0D74F #4FD79A #564FD7 #D74F8C
split-complementary
#D0D74F #4F8CD7 #9A4FD7
monochromatic
#868C20 #B6BE2B #D0D74F #DDE281 #EBEEB3

Accessibility & contrast

On white

1.55
#D0D74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#D0D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D74F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D74F#FFFFFF#000000##000000
##D0D74F1.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3D
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#DDCBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d0d74f;
/* rgb */ color: rgb(208, 215, 79);
/* oklch */ color: oklch(84.9% 0.156 112.1);
Tailwind
colors: {
  custom: {
    50: '#e1e387',
    500: '#d0d74f',
    950: '#000000',
  },
}
SCSS
$custom: #d0d74f;
$custom-light: #e1e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d74f",
  "rgb": {
    "r": 208,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 63.088,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84863,
    "c": 0.15642,
    "h": 112.1
  },
  "luminance": 0.62575
}

Semantic roles & 50–950 ramp

primary
#D0D74F
secondary
#3D3992
accent
#42E64A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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