#D7C644#D7C644

#D7C644 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.147 H 101.8°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D7C644
RGBrgb(215, 198, 68)
HSLhsl(53, 65%, 55%)
HSVhsv(53, 68%, 84%)
CMYKcmyk(0%, 7.9%, 68.4%, 15.7%)
CIE-LABlab(79.19, -8.66, 64.29)
CIE-LCHlch(79.19, 64.87, 97.67°)
OKLaboklab(81.76% -0.0299 0.1438)
OKLCHoklch(81.76% 0.147 101.8)
XYZxyz(49.2639, 55.2547, 13.5380)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C644 #4455D7
analogous
#D77C44 #D7C644 #9FD744
triadic
#D7C644 #44D7C6 #C644D7
tetradic
#D7C644 #44D77C #4455D7 #D7449F
square
#D7C644 #44D77C #4455D7 #D7449F
split-complementary
#D7C644 #449FD7 #7C44D7
monochromatic
#84781C #B7A627 #D7C644 #E2D576 #EDE5A9

Accessibility & contrast

On white

1.74
#D7C644 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#D7C644 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C644
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C644#FFFFFF#000000##000000
##D7C6441.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C031
Deuteranopia (green-blind)
#DDC74C
Tritanopia (blue-blind)
#E7B8AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c644;
/* rgb */ color: rgb(215, 198, 68);
/* oklch */ color: oklch(81.8% 0.147 101.8);
Tailwind
colors: {
  custom: {
    50: '#e7d67f',
    500: '#d7c644',
    950: '#000000',
  },
}
SCSS
$custom: #d7c644;
$custom-light: #e7d67f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c644",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 68
  },
  "hsl": {
    "h": 53.061,
    "s": 64.758,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81763,
    "c": 0.14691,
    "h": 101.8
  },
  "luminance": 0.55253
}

Semantic roles & 50–950 ramp

primary
#D7C644
secondary
#343E8B
accent
#53E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C644

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

Preview Lab → · Contrast checker → · Palette generator →

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