#D7C44A#D7C44A

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

Color values

HEX#D7C44A
RGBrgb(215, 196, 74)
HSLhsl(52, 64%, 57%)
HSVhsv(52, 66%, 84%)
CMYKcmyk(0%, 8.8%, 65.6%, 15.7%)
CIE-LABlab(78.71, -7.30, 61.39)
CIE-LCHlch(78.71, 61.82, 96.78°)
OKLaboklab(81.4% -0.0254 0.1387)
OKLCHoklch(81.4% 0.141 100.4)
XYZxyz(49.0024, 54.4235, 14.4009)
Luminance0.5442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C44A #4A5DD7
analogous
#D77E4A #D7C44A #A4D74A
triadic
#D7C44A #4AD7C4 #C44AD7
tetradic
#D7C44A #4AD77E #4A5DD7 #D74AA4
square
#D7C44A #4AD77E #4A5DD7 #D74AA4
split-complementary
#D7C44A #4AA4D7 #7E4AD7
monochromatic
#887A1E #BBA729 #D7C44A #E2D47C #EDE5AE

Accessibility & contrast

On white

1.77
#D7C44A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#D7C44A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C44A
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C44A#FFFFFF#000000##000000
##D7C44A1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3A
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#E7B6AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c44a;
/* rgb */ color: rgb(215, 196, 74);
/* oklch */ color: oklch(81.4% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#e7d582',
    500: '#d7c44a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c44a;
$custom-light: #e7d582;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c44a",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 74
  },
  "hsl": {
    "h": 51.915,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81396,
    "c": 0.14098,
    "h": 100.4
  },
  "luminance": 0.54421
}

Semantic roles & 50–950 ramp

primary
#D7C44A
secondary
#37428F
accent
#57E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C44A

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

Preview Lab → · Contrast checker → · Palette generator →

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