#D7C944#D7C944

#D7C944 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.149 H 103.2°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D7C944
RGBrgb(215, 201, 68)
HSLhsl(54, 65%, 55%)
HSVhsv(54, 68%, 84%)
CMYKcmyk(0%, 6.5%, 68.4%, 15.7%)
CIE-LABlab(79.98, -10.18, 65.09)
CIE-LCHlch(79.98, 65.88, 98.89°)
OKLaboklab(82.39% -0.0342 0.1455)
OKLCHoklch(82.39% 0.149 103.2)
XYZxyz(49.9564, 56.6397, 13.7688)
Luminance0.5664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C944 #4452D7
analogous
#D78044 #D7C944 #9BD744
triadic
#D7C944 #44D7C9 #C944D7
tetradic
#D7C944 #44D780 #4452D7 #D7449B
square
#D7C944 #44D780 #4452D7 #D7449B
split-complementary
#D7C944 #449BD7 #8044D7
monochromatic
#847A1C #B7A927 #D7C944 #E2D876 #EDE6A9

Accessibility & contrast

On white

1.70
#D7C944 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#D7C944 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C944
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C944#FFFFFF#000000##000000
##D7C9441.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC330
Deuteranopia (green-blind)
#DFC94C
Tritanopia (blue-blind)
#E7BBAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c944;
/* rgb */ color: rgb(215, 201, 68);
/* oklch */ color: oklch(82.4% 0.149 103.2);
Tailwind
colors: {
  custom: {
    50: '#e7d97f',
    500: '#d7c944',
    950: '#000000',
  },
}
SCSS
$custom: #d7c944;
$custom-light: #e7d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c944",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 68
  },
  "hsl": {
    "h": 54.286,
    "s": 64.758,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8239,
    "c": 0.14949,
    "h": 103.2
  },
  "luminance": 0.56638
}

Semantic roles & 50–950 ramp

primary
#D7C944
secondary
#343D8B
accent
#50E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C944

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

Preview Lab → · Contrast checker → · Palette generator →

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