#D0C245#D0C245

#D0C245 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.143 H 102.9°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#D0C245
RGBrgb(208, 194, 69)
HSLhsl(54, 60%, 54%)
HSVhsv(54, 67%, 82%)
CMYKcmyk(0%, 6.7%, 66.8%, 18.4%)
CIE-LABlab(77.53, -9.52, 62.02)
CIE-LCHlch(77.53, 62.75, 98.73°)
OKLaboklab(80.31% -0.0319 0.1394)
OKLCHoklch(80.31% 0.143 102.9)
XYZxyz(46.3803, 52.4250, 13.3050)
Luminance0.5242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C245 #4553D0
analogous
#D07D45 #D0C245 #99D045
triadic
#D0C245 #45D0C2 #C245D0
tetradic
#D0C245 #45D07D #4553D0 #D04599
square
#D0C245 #45D07D #4553D0 #D04599
split-complementary
#D0C245 #4599D0 #7D45D0
monochromatic
#7B721F #AC9F2C #D0C245 #DCD276 #E9E2A7

Accessibility & contrast

On white

1.83
#D0C245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#D0C245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C245
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C245#FFFFFF#000000##000000
##D0C2451.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#DFB5A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d0c245;
/* rgb */ color: rgb(208, 194, 69);
/* oklch */ color: oklch(80.3% 0.143 102.9);
Tailwind
colors: {
  custom: {
    50: '#e2d47f',
    500: '#d0c245',
    950: '#000000',
  },
}
SCSS
$custom: #d0c245;
$custom-light: #e2d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c245",
  "rgb": {
    "r": 208,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 53.957,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80307,
    "c": 0.14301,
    "h": 102.9
  },
  "luminance": 0.52423
}

Semantic roles & 50–950 ramp

primary
#D0C245
secondary
#363E83
accent
#55E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C245

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

Preview Lab → · Contrast checker → · Palette generator →

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