#D0C75F#D0C75F

#D0C75F is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.126 H 104.3°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#D0C75F
RGBrgb(208, 199, 95)
HSLhsl(55, 55%, 59%)
HSVhsv(55, 54%, 82%)
CMYKcmyk(0%, 4.3%, 54.3%, 18.4%)
CIE-LABlab(79.09, -10.31, 52.38)
CIE-LCHlch(79.09, 53.38, 101.14°)
OKLaboklab(81.62% -0.0312 0.1224)
OKLCHoklch(81.62% 0.126 104.3)
XYZxyz(48.5029, 55.0846, 18.9017)
Luminance0.5508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C75F #5F68D0
analogous
#D08F5F #D0C75F #A1D05F
triadic
#D0C75F #5FD0C7 #C75FD0
tetradic
#D0C75F #5FD08F #5F68D0 #D05FA1
square
#D0C75F #5FD08F #5F68D0 #D05FA1
split-complementary
#D0C75F #5FA1D0 #8F5FD0
monochromatic
#8C8429 #BBB037 #D0C75F #DED88E #ECE8BE

Accessibility & contrast

On white

1.75
#D0C75F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#D0C75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C75F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C75F#FFFFFF#000000##000000
##D0C75F1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C155
Deuteranopia (green-blind)
#D9C664
Tritanopia (blue-blind)
#DEBBB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c75f;
/* rgb */ color: rgb(208, 199, 95);
/* oklch */ color: oklch(81.6% 0.126 104.3);
Tailwind
colors: {
  custom: {
    50: '#e1d78f',
    500: '#d0c75f',
    950: '#000000',
  },
}
SCSS
$custom: #d0c75f;
$custom-light: #e1d78f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c75f",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 95
  },
  "hsl": {
    "h": 55.221,
    "s": 54.589,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81618,
    "c": 0.12631,
    "h": 104.3
  },
  "luminance": 0.55083
}

Semantic roles & 50–950 ramp

primary
#D0C75F
secondary
#414892
accent
#56DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D0C75F

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

Preview Lab → · Contrast checker → · Palette generator →

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