#D0C45F#D0C45F

#D0C45F is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.123 H 102.6°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#D0C45F
RGBrgb(208, 196, 95)
HSLhsl(54, 55%, 59%)
HSVhsv(54, 54%, 82%)
CMYKcmyk(0%, 5.8%, 54.3%, 18.4%)
CIE-LABlab(78.30, -8.78, 51.46)
CIE-LCHlch(78.30, 52.21, 99.68°)
OKLaboklab(80.99% -0.0268 0.1204)
OKLCHoklch(80.99% 0.123 102.6)
XYZxyz(47.8194, 53.7176, 18.6739)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C45F #5F6BD0
analogous
#D08C5F #D0C45F #A4D05F
triadic
#D0C45F #5FD0C4 #C45FD0
tetradic
#D0C45F #5FD08C #5F6BD0 #D05FA4
square
#D0C45F #5FD08C #5F6BD0 #D05FA4
split-complementary
#D0C45F #5FA4D0 #8C5FD0
monochromatic
#8C8129 #BBAD37 #D0C45F #DED58E #ECE7BE

Accessibility & contrast

On white

1.79
#D0C45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#D0C45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C45F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C45F#FFFFFF#000000##000000
##D0C45F1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE55
Deuteranopia (green-blind)
#D7C464
Tritanopia (blue-blind)
#DEB8AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d0c45f;
/* rgb */ color: rgb(208, 196, 95);
/* oklch */ color: oklch(81.0% 0.123 102.6);
Tailwind
colors: {
  custom: {
    50: '#e1d58f',
    500: '#d0c45f',
    950: '#000000',
  },
}
SCSS
$custom: #d0c45f;
$custom-light: #e1d58f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c45f",
  "rgb": {
    "r": 208,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 53.628,
    "s": 54.589,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80988,
    "c": 0.12337,
    "h": 102.6
  },
  "luminance": 0.53716
}

Semantic roles & 50–950 ramp

primary
#D0C45F
secondary
#414A92
accent
#5ADE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D0C45F

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

Preview Lab → · Contrast checker → · Palette generator →

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