#D0C740#D0C740

#D0C740 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.151 H 105.5°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#D0C740
RGBrgb(208, 199, 64)
HSLhsl(56, 61%, 53%)
HSVhsv(56, 69%, 82%)
CMYKcmyk(0%, 4.3%, 69.2%, 18.4%)
CIE-LABlab(78.83, -12.33, 65.27)
CIE-LCHlch(78.83, 66.42, 100.70°)
OKLaboklab(81.32% -0.0403 0.1454)
OKLCHoklch(81.32% 0.151 105.5)
XYZxyz(47.3631, 54.6287, 12.8990)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C740 #4049D0
analogous
#D07F40 #D0C740 #91D040
triadic
#D0C740 #40D0C7 #C740D0
tetradic
#D0C740 #40D07F #4049D0 #D04091
square
#D0C740 #40D07F #4049D0 #D04091
split-complementary
#D0C740 #4091D0 #7F40D0
monochromatic
#78721E #A9A12A #D0C740 #DCD571 #E8E4A2

Accessibility & contrast

On white

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

On black

11.93
#D0C740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C740
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C740#FFFFFF#000000##000000
##D0C7401.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02B
Deuteranopia (green-blind)
#DBC649
Tritanopia (blue-blind)
#DFBAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d0c740;
/* rgb */ color: rgb(208, 199, 64);
/* oklch */ color: oklch(81.3% 0.151 105.5);
Tailwind
colors: {
  custom: {
    50: '#e2d77d',
    500: '#d0c740',
    950: '#000000',
  },
}
SCSS
$custom: #d0c740;
$custom-light: #e2d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c740",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 64
  },
  "hsl": {
    "h": 56.25,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81324,
    "c": 0.15092,
    "h": 105.5
  },
  "luminance": 0.54627
}

Semantic roles & 50–950 ramp

primary
#D0C740
secondary
#343980
accent
#4EE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C740

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

Preview Lab → · Contrast checker → · Palette generator →

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