#D0CA40#D0CA40

#D0CA40 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.154 H 106.9°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#D0CA40
RGBrgb(208, 202, 64)
HSLhsl(58, 61%, 53%)
HSVhsv(58, 69%, 82%)
CMYKcmyk(0%, 2.9%, 69.2%, 18.4%)
CIE-LABlab(79.63, -13.85, 66.06)
CIE-LCHlch(79.63, 67.50, 101.84°)
OKLaboklab(81.96% -0.0446 0.1471)
OKLCHoklch(81.96% 0.154 106.9)
XYZxyz(48.0602, 56.0228, 13.1314)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CA40 #4046D0
analogous
#D08240 #D0CA40 #8ED040
triadic
#D0CA40 #40D0CA #CA40D0
tetradic
#D0CA40 #40D082 #4046D0 #D0408E
square
#D0CA40 #40D082 #4046D0 #D0408E
split-complementary
#D0CA40 #408ED0 #8240D0
monochromatic
#78741E #A9A42A #D0CA40 #DCD871 #E8E5A2

Accessibility & contrast

On white

1.72
#D0CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#D0CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CA40
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CA40#FFFFFF#000000##000000
##D0CA401.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22A
Deuteranopia (green-blind)
#DEC84A
Tritanopia (blue-blind)
#DFBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d0ca40;
/* rgb */ color: rgb(208, 202, 64);
/* oklch */ color: oklch(82.0% 0.154 106.9);
Tailwind
colors: {
  custom: {
    50: '#e2d97d',
    500: '#d0ca40',
    950: '#000000',
  },
}
SCSS
$custom: #d0ca40;
$custom-light: #e2d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ca40",
  "rgb": {
    "r": 208,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 57.5,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81961,
    "c": 0.15372,
    "h": 106.9
  },
  "luminance": 0.56021
}

Semantic roles & 50–950 ramp

primary
#D0CA40
secondary
#343780
accent
#4BE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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