#D0C145#D0C145

#D0C145 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.142 H 102.4°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#D0C145
RGBrgb(208, 193, 69)
HSLhsl(54, 60%, 54%)
HSVhsv(54, 67%, 82%)
CMYKcmyk(0%, 7.2%, 66.8%, 18.4%)
CIE-LABlab(77.27, -9.01, 61.75)
CIE-LCHlch(77.27, 62.40, 98.30°)
OKLaboklab(80.1% -0.0304 0.1388)
OKLCHoklch(80.1% 0.142 102.4)
XYZxyz(46.1585, 51.9814, 13.2311)
Luminance0.5198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C145 #4554D0
analogous
#D07C45 #D0C145 #9AD045
triadic
#D0C145 #45D0C1 #C145D0
tetradic
#D0C145 #45D07C #4554D0 #D0459A
square
#D0C145 #45D07C #4554D0 #D0459A
split-complementary
#D0C145 #459AD0 #7C45D0
monochromatic
#7B711F #AC9E2C #D0C145 #DCD176 #E9E2A7

Accessibility & contrast

On white

1.84
#D0C145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#D0C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C145
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C145#FFFFFF#000000##000000
##D0C1451.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D7C24C
Tritanopia (blue-blind)
#DFB4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d0c145;
/* rgb */ color: rgb(208, 193, 69);
/* oklch */ color: oklch(80.1% 0.142 102.4);
Tailwind
colors: {
  custom: {
    50: '#e2d37f',
    500: '#d0c145',
    950: '#000000',
  },
}
SCSS
$custom: #d0c145;
$custom-light: #e2d37f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c145",
  "rgb": {
    "r": 208,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 53.525,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80097,
    "c": 0.14213,
    "h": 102.4
  },
  "luminance": 0.51979
}

Semantic roles & 50–950 ramp

primary
#D0C145
secondary
#363E83
accent
#56E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C145

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

Preview Lab → · Contrast checker → · Palette generator →

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