#D0CA45#D0CA45

#D0CA45 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.150 H 106.8°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#D0CA45
RGBrgb(208, 202, 69)
HSLhsl(57, 60%, 54%)
HSVhsv(57, 67%, 82%)
CMYKcmyk(0%, 2.9%, 66.8%, 18.4%)
CIE-LABlab(79.66, -13.58, 64.19)
CIE-LCHlch(79.66, 65.61, 101.95°)
OKLaboklab(82% -0.0434 0.144)
OKLCHoklch(82% 0.15 106.8)
XYZxyz(48.2089, 56.0823, 13.9146)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CA45 #454BD0
analogous
#D08545 #D0CA45 #91D045
triadic
#D0CA45 #45D0CA #CA45D0
tetradic
#D0CA45 #45D085 #454BD0 #D04591
square
#D0CA45 #45D085 #454BD0 #D04591
split-complementary
#D0CA45 #4591D0 #8545D0
monochromatic
#7B771F #ACA72C #D0CA45 #DCD876 #E9E6A7

Accessibility & contrast

On white

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

On black

12.22
#D0CA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CA45
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CA45#FFFFFF#000000##000000
##D0CA451.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0ca45;
/* rgb */ color: rgb(208, 202, 69);
/* oklch */ color: oklch(82.0% 0.150 106.8);
Tailwind
colors: {
  custom: {
    50: '#e2d980',
    500: '#d0ca45',
    950: '#000000',
  },
}
SCSS
$custom: #d0ca45;
$custom-light: #e2d980;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ca45",
  "rgb": {
    "r": 208,
    "g": 202,
    "b": 69
  },
  "hsl": {
    "h": 57.41,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81999,
    "c": 0.15038,
    "h": 106.8
  },
  "luminance": 0.56081
}

Semantic roles & 50–950 ramp

primary
#D0CA45
secondary
#363983
accent
#4CE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0CA45

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

Preview Lab → · Contrast checker → · Palette generator →

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