#D0C03C#D0C03C

#D0C03C is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.147 H 102.2°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#D0C03C
RGBrgb(208, 192, 60)
HSLhsl(54, 61%, 53%)
HSVhsv(54, 71%, 82%)
CMYKcmyk(0%, 7.7%, 71.2%, 18.4%)
CIE-LABlab(76.94, -8.97, 64.90)
CIE-LCHlch(76.94, 65.52, 97.87°)
OKLaboklab(79.82% -0.0312 0.144)
OKLCHoklch(79.82% 0.147 102.2)
XYZxyz(45.6797, 51.4374, 11.7964)
Luminance0.5143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C03C #3C4CD0
analogous
#D0763C #D0C03C #96D03C
triadic
#D0C03C #3CD0C0 #C03CD0
tetradic
#D0C03C #3CD076 #3C4CD0 #D03C96
square
#D0C03C #3CD076 #3C4CD0 #D03C96
split-complementary
#D0C03C #3C96D0 #763CD0
monochromatic
#756C1C #A79928 #D0C03C #DCD06D #E8E09F

Accessibility & contrast

On white

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

On black

11.29
#D0C03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C03C
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C03C#FFFFFF#000000##000000
##D0C03C1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA26
Deuteranopia (green-blind)
#D6C145
Tritanopia (blue-blind)
#E0B2A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d0c03c;
/* rgb */ color: rgb(208, 192, 60);
/* oklch */ color: oklch(79.8% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#e2d27a',
    500: '#d0c03c',
    950: '#000000',
  },
}
SCSS
$custom: #d0c03c;
$custom-light: #e2d27a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c03c",
  "rgb": {
    "r": 208,
    "g": 192,
    "b": 60
  },
  "hsl": {
    "h": 53.514,
    "s": 61.157,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79817,
    "c": 0.14731,
    "h": 102.2
  },
  "luminance": 0.51435
}

Semantic roles & 50–950 ramp

primary
#D0C03C
secondary
#323B7E
accent
#55E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C03C

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

Preview Lab → · Contrast checker → · Palette generator →

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