#D0C045#D0C045

#D0C045 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.141 H 101.8°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D0C045
RGBrgb(208, 192, 69)
HSLhsl(53, 60%, 54%)
HSVhsv(53, 67%, 82%)
CMYKcmyk(0%, 7.7%, 66.8%, 18.4%)
CIE-LABlab(77.01, -8.50, 61.48)
CIE-LCHlch(77.01, 62.06, 97.87°)
OKLaboklab(79.89% -0.029 0.1383)
OKLCHoklch(79.89% 0.141 101.8)
XYZxyz(45.9382, 51.5408, 13.1577)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C045 #4555D0
analogous
#D07B45 #D0C045 #9AD045
triadic
#D0C045 #45D0C0 #C045D0
tetradic
#D0C045 #45D07B #4555D0 #D0459A
square
#D0C045 #45D07B #4555D0 #D0459A
split-complementary
#D0C045 #459AD0 #7B45D0
monochromatic
#7B711F #AC9D2C #D0C045 #DCD176 #E9E1A7

Accessibility & contrast

On white

1.86
#D0C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#D0C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C045
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C045#FFFFFF#000000##000000
##D0C0451.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA34
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#DFB3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d0c045;
/* rgb */ color: rgb(208, 192, 69);
/* oklch */ color: oklch(79.9% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#e2d27f',
    500: '#d0c045',
    950: '#000000',
  },
}
SCSS
$custom: #d0c045;
$custom-light: #e2d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c045",
  "rgb": {
    "r": 208,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 53.094,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79887,
    "c": 0.14126,
    "h": 101.8
  },
  "luminance": 0.51539
}

Semantic roles & 50–950 ramp

primary
#D0C045
secondary
#363F83
accent
#57E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C045

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

Preview Lab → · Contrast checker → · Palette generator →

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