#D0C745#D0C745

#D0C745 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.148 H 105.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#D0C745
RGBrgb(208, 199, 69)
HSLhsl(56, 60%, 54%)
HSVhsv(56, 67%, 82%)
CMYKcmyk(0%, 4.3%, 66.8%, 18.4%)
CIE-LABlab(78.86, -12.07, 63.38)
CIE-LCHlch(78.86, 64.52, 100.78°)
OKLaboklab(81.36% -0.0391 0.1423)
OKLCHoklch(81.36% 0.148 105.4)
XYZxyz(47.5118, 54.6881, 13.6822)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C745 #454ED0
analogous
#D08245 #D0C745 #94D045
triadic
#D0C745 #45D0C7 #C745D0
tetradic
#D0C745 #45D082 #454ED0 #D04594
square
#D0C745 #45D082 #454ED0 #D04594
split-complementary
#D0C745 #4594D0 #8245D0
monochromatic
#7B751F #ACA42C #D0C745 #DCD676 #E9E4A7

Accessibility & contrast

On white

1.76
#D0C745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#D0C745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C745
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C745#FFFFFF#000000##000000
##D0C7451.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C033
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#DFBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d0c745;
/* rgb */ color: rgb(208, 199, 69);
/* oklch */ color: oklch(81.4% 0.148 105.4);
Tailwind
colors: {
  custom: {
    50: '#e2d780',
    500: '#d0c745',
    950: '#000000',
  },
}
SCSS
$custom: #d0c745;
$custom-light: #e2d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c745",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 56.115,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81362,
    "c": 0.14755,
    "h": 105.4
  },
  "luminance": 0.54686
}

Semantic roles & 50–950 ramp

primary
#D0C745
secondary
#363B83
accent
#4FE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C745

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

Preview Lab → · Contrast checker → · Palette generator →

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