#D0CA54#D0CA54

#D0CA54 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.139 H 106.3°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#D0CA54
RGBrgb(208, 202, 84)
HSLhsl(57, 57%, 57%)
HSVhsv(57, 60%, 82%)
CMYKcmyk(0%, 2.9%, 59.6%, 18.4%)
CIE-LABlab(79.78, -12.65, 58.11)
CIE-LCHlch(79.78, 59.48, 102.28°)
OKLaboklab(82.13% -0.0391 0.1334)
OKLCHoklch(82.13% 0.139 106.3)
XYZxyz(48.7348, 56.2926, 16.6842)
Luminance0.5629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CA54 #545AD0
analogous
#D08C54 #D0CA54 #98D054
triadic
#D0CA54 #54D0CA #CA54D0
tetradic
#D0CA54 #54D08C #545AD0 #D05498
square
#D0CA54 #54D08C #545AD0 #D05498
split-complementary
#D0CA54 #5498D0 #8C54D0
monochromatic
#858025 #B5AF32 #D0CA54 #DDD984 #EAE8B4

Accessibility & contrast

On white

1.71
#D0CA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#D0CA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CA54
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CA54#FFFFFF#000000##000000
##D0CA541.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC347
Deuteranopia (green-blind)
#DDC85B
Tritanopia (blue-blind)
#DEBEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d0ca54;
/* rgb */ color: rgb(208, 202, 84);
/* oklch */ color: oklch(82.1% 0.139 106.3);
Tailwind
colors: {
  custom: {
    50: '#e1d989',
    500: '#d0ca54',
    950: '#000000',
  },
}
SCSS
$custom: #d0ca54;
$custom-light: #e1d989;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ca54",
  "rgb": {
    "r": 208,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 57.097,
    "s": 56.881,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82132,
    "c": 0.13897,
    "h": 106.3
  },
  "luminance": 0.56291
}

Semantic roles & 50–950 ramp

primary
#D0CA54
secondary
#3C408C
accent
#4FE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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