#D0C535#D0C535

#D0C535 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.156 H 104.9°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#D0C535
RGBrgb(208, 197, 53)
HSLhsl(56, 62%, 51%)
HSVhsv(56, 75%, 82%)
CMYKcmyk(0%, 5.3%, 74.5%, 18.4%)
CIE-LABlab(78.23, -11.83, 68.59)
CIE-LCHlch(78.23, 69.61, 99.78°)
OKLaboklab(80.83% -0.04 0.1505)
OKLCHoklch(80.83% 0.156 104.9)
XYZxyz(46.6233, 53.6013, 11.2577)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C535 #3540D0
analogous
#D07735 #D0C535 #8DD035
triadic
#D0C535 #35D0C5 #C535D0
tetradic
#D0C535 #35D077 #3540D0 #D0358D
square
#D0C535 #35D077 #3540D0 #D0358D
split-complementary
#D0C535 #358DD0 #7735D0
monochromatic
#706A1A #A29926 #D0C535 #DCD367 #E7E298

Accessibility & contrast

On white

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

On black

11.72
#D0C535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C535
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C535#FFFFFF#000000##000000
##D0C5351.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE16
Deuteranopia (green-blind)
#DAC440
Tritanopia (blue-blind)
#E0B7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d0c535;
/* rgb */ color: rgb(208, 197, 53);
/* oklch */ color: oklch(80.8% 0.156 104.9);
Tailwind
colors: {
  custom: {
    50: '#e2d677',
    500: '#d0c535',
    950: '#000000',
  },
}
SCSS
$custom: #d0c535;
$custom-light: #e2d677;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c535",
  "rgb": {
    "r": 208,
    "g": 197,
    "b": 53
  },
  "hsl": {
    "h": 55.742,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80827,
    "c": 0.15573,
    "h": 104.9
  },
  "luminance": 0.53599
}

Semantic roles & 50–950 ramp

primary
#D0C535
secondary
#303579
accent
#4EE542
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #D0C535

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

Preview Lab → · Contrast checker → · Palette generator →

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