#D7C44F#D7C44F

#D7C44F is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.137 H 100.1°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#D7C44F
RGBrgb(215, 196, 79)
HSLhsl(52, 63%, 58%)
HSVhsv(52, 63%, 84%)
CMYKcmyk(0%, 8.8%, 63.3%, 15.7%)
CIE-LABlab(78.75, -7.00, 59.33)
CIE-LCHlch(78.75, 59.74, 96.73°)
OKLaboklab(81.44% -0.024 0.1351)
OKLCHoklch(81.44% 0.137 100.1)
XYZxyz(49.1776, 54.4936, 15.3235)
Luminance0.5449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C44F #4F62D7
analogous
#D7804F #D7C44F #A6D74F
triadic
#D7C44F #4FD7C4 #C44FD7
tetradic
#D7C44F #4FD780 #4F62D7 #D74FA6
square
#D7C44F #4FD780 #4F62D7 #D74FA6
split-complementary
#D7C44F #4FA6D7 #804FD7
monochromatic
#8C7D20 #BEA92B #D7C44F #E2D581 #EEE5B3

Accessibility & contrast

On white

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

On black

11.90
#D7C44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C44F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C44F#FFFFFF#000000##000000
##D7C44F1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c44f;
/* rgb */ color: rgb(215, 196, 79);
/* oklch */ color: oklch(81.4% 0.137 100.1);
Tailwind
colors: {
  custom: {
    50: '#e6d585',
    500: '#d7c44f',
    950: '#000000',
  },
}
SCSS
$custom: #d7c44f;
$custom-light: #e6d585;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c44f",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 79
  },
  "hsl": {
    "h": 51.618,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81442,
    "c": 0.13717,
    "h": 100.1
  },
  "luminance": 0.54491
}

Semantic roles & 50–950 ramp

primary
#D7C44F
secondary
#394592
accent
#59E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C44F

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

Preview Lab → · Contrast checker → · Palette generator →

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