#D0C935#D0C935

#D0C935 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.7% C 0.159 H 106.7°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#D0C935
RGBrgb(208, 201, 53)
HSLhsl(57, 62%, 51%)
HSVhsv(57, 75%, 82%)
CMYKcmyk(0%, 3.4%, 74.5%, 18.4%)
CIE-LABlab(79.30, -13.85, 69.59)
CIE-LCHlch(79.30, 70.95, 101.26°)
OKLaboklab(81.68% -0.0457 0.1526)
OKLCHoklch(81.68% 0.159 106.7)
XYZxyz(47.5436, 55.4419, 11.5645)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C935 #353CD0
analogous
#D07B35 #D0C935 #89D035
triadic
#D0C935 #35D0C9 #C935D0
tetradic
#D0C935 #35D07B #353CD0 #D03589
square
#D0C935 #35D07B #353CD0 #D03589
split-complementary
#D0C935 #3589D0 #7B35D0
monochromatic
#706D1A #A29C26 #D0C935 #DCD667 #E7E498

Accessibility & contrast

On white

1.74
#D0C935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#D0C935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C935
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C935#FFFFFF#000000##000000
##D0C9351.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC114
Deuteranopia (green-blind)
#DDC741
Tritanopia (blue-blind)
#DFBBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c935;
/* rgb */ color: rgb(208, 201, 53);
/* oklch */ color: oklch(81.7% 0.159 106.7);
Tailwind
colors: {
  custom: {
    50: '#e2d978',
    500: '#d0c935',
    950: '#000000',
  },
}
SCSS
$custom: #d0c935;
$custom-light: #e2d978;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c935",
  "rgb": {
    "r": 208,
    "g": 201,
    "b": 53
  },
  "hsl": {
    "h": 57.29,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81676,
    "c": 0.1593,
    "h": 106.7
  },
  "luminance": 0.5544
}

Semantic roles & 50–950 ramp

primary
#D0C935
secondary
#303379
accent
#4AE542
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C935

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

Preview Lab → · Contrast checker → · Palette generator →

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