#D0C642#D0C642

#D0C642 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.149 H 105.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#D0C642
RGBrgb(208, 198, 66)
HSLhsl(56, 60%, 54%)
HSVhsv(56, 68%, 82%)
CMYKcmyk(0%, 4.8%, 68.3%, 18.4%)
CIE-LABlab(78.57, -11.72, 64.26)
CIE-LCHlch(78.57, 65.32, 100.34°)
OKLaboklab(81.13% -0.0384 0.1436)
OKLCHoklch(81.13% 0.149 105)
XYZxyz(47.1917, 54.1932, 13.1277)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C642 #424CD0
analogous
#D07F42 #D0C642 #93D042
triadic
#D0C642 #42D0C6 #C642D0
tetradic
#D0C642 #42D07F #424CD0 #D04293
square
#D0C642 #42D07F #424CD0 #D04293
split-complementary
#D0C642 #4293D0 #7F42D0
monochromatic
#79731E #AAA12A #D0C642 #DCD573 #E8E4A4

Accessibility & contrast

On white

1.77
#D0C642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#D0C642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C642
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C642#FFFFFF#000000##000000
##D0C6421.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#DBC54B
Tritanopia (blue-blind)
#DFB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d0c642;
/* rgb */ color: rgb(208, 198, 66);
/* oklch */ color: oklch(81.1% 0.149 105.0);
Tailwind
colors: {
  custom: {
    50: '#e2d77e',
    500: '#d0c642',
    950: '#000000',
  },
}
SCSS
$custom: #d0c642;
$custom-light: #e2d77e;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c642",
  "rgb": {
    "r": 208,
    "g": 198,
    "b": 66
  },
  "hsl": {
    "h": 55.775,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81127,
    "c": 0.14868,
    "h": 105
  },
  "luminance": 0.54191
}

Semantic roles & 50–950 ramp

primary
#D0C642
secondary
#353A81
accent
#50E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C642

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

Preview Lab → · Contrast checker → · Palette generator →

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