#D0C348#D0C348

#D0C348 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.142 H 103.3°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#D0C348
RGBrgb(208, 195, 72)
HSLhsl(54, 59%, 55%)
HSVhsv(54, 65%, 82%)
CMYKcmyk(0%, 6.3%, 65.4%, 18.4%)
CIE-LABlab(77.82, -9.86, 61.10)
CIE-LCHlch(77.82, 61.89, 99.17°)
OKLaboklab(80.54% -0.0325 0.1379)
OKLCHoklch(80.54% 0.142 103.3)
XYZxyz(46.6991, 52.9098, 13.8824)
Luminance0.5291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C348 #4855D0
analogous
#D07F48 #D0C348 #99D048
triadic
#D0C348 #48D0C3 #C348D0
tetradic
#D0C348 #48D07F #4855D0 #D04899
square
#D0C348 #48D07F #4855D0 #D04899
split-complementary
#D0C348 #4899D0 #7F48D0
monochromatic
#7D7420 #AEA22D #D0C348 #DDD379 #E9E3A9

Accessibility & contrast

On white

1.81
#D0C348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#D0C348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C348
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C348#FFFFFF#000000##000000
##D0C3481.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#DFB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d0c348;
/* rgb */ color: rgb(208, 195, 72);
/* oklch */ color: oklch(80.5% 0.142 103.3);
Tailwind
colors: {
  custom: {
    50: '#e2d481',
    500: '#d0c348',
    950: '#000000',
  },
}
SCSS
$custom: #d0c348;
$custom-light: #e2d481;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c348",
  "rgb": {
    "r": 208,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 54.265,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80542,
    "c": 0.14172,
    "h": 103.3
  },
  "luminance": 0.52908
}

Semantic roles & 50–950 ramp

primary
#D0C348
secondary
#373F85
accent
#54E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C348

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

Preview Lab → · Contrast checker → · Palette generator →

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