#D0C74E#D0C74E

#D0C74E is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.141 H 105.1°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#D0C74E
RGBrgb(208, 199, 78)
HSLhsl(56, 58%, 56%)
HSVhsv(56, 63%, 82%)
CMYKcmyk(0%, 4.3%, 62.5%, 18.4%)
CIE-LABlab(78.93, -11.53, 59.77)
CIE-LCHlch(78.93, 60.87, 100.92°)
OKLaboklab(81.44% -0.0366 0.136)
OKLCHoklch(81.44% 0.141 105.1)
XYZxyz(47.8127, 54.8085, 15.2668)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C74E #4E57D0
analogous
#D0864E #D0C74E #98D04E
triadic
#D0C74E #4ED0C7 #C74ED0
tetradic
#D0C74E #4ED086 #4E57D0 #D04E98
square
#D0C74E #4ED086 #4E57D0 #D04E98
split-complementary
#D0C74E #4E98D0 #864ED0
monochromatic
#817B22 #B2A92F #D0C74E #DDD67E #EAE6AF

Accessibility & contrast

On white

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

On black

11.96
#D0C74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C74E
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C74E#FFFFFF#000000##000000
##D0C74E1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03F
Deuteranopia (green-blind)
#DBC655
Tritanopia (blue-blind)
#DFBAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d0c74e;
/* rgb */ color: rgb(208, 199, 78);
/* oklch */ color: oklch(81.4% 0.141 105.1);
Tailwind
colors: {
  custom: {
    50: '#e1d785',
    500: '#d0c74e',
    950: '#000000',
  },
}
SCSS
$custom: #d0c74e;
$custom-light: #e1d785;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c74e",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 55.846,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8144,
    "c": 0.14087,
    "h": 105.1
  },
  "luminance": 0.54807
}

Semantic roles & 50–950 ramp

primary
#D0C74E
secondary
#3A3F89
accent
#51E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C74E

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

Preview Lab → · Contrast checker → · Palette generator →

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