#D7C044#D7C044

#D7C044 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.142 H 98.6°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#D7C044
RGBrgb(215, 192, 68)
HSLhsl(51, 65%, 55%)
HSVhsv(51, 68%, 84%)
CMYKcmyk(0%, 10.7%, 68.4%, 15.7%)
CIE-LABlab(77.62, -5.58, 62.70)
CIE-LCHlch(77.62, 62.95, 95.08°)
OKLaboklab(80.52% -0.0212 0.1405)
OKLCHoklch(80.52% 0.142 98.6)
XYZxyz(47.9196, 52.5660, 13.0899)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C044 #445BD7
analogous
#D77644 #D7C044 #A5D744
triadic
#D7C044 #44D7C0 #C044D7
tetradic
#D7C044 #44D776 #445BD7 #D744A5
square
#D7C044 #44D776 #445BD7 #D744A5
split-complementary
#D7C044 #44A5D7 #7644D7
monochromatic
#84741C #B7A027 #D7C044 #E2D176 #EDE2A9

Accessibility & contrast

On white

1.82
#D7C044 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#D7C044 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C044
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C044#FFFFFF#000000##000000
##D7C0441.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB33
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#E7B2A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7c044;
/* rgb */ color: rgb(215, 192, 68);
/* oklch */ color: oklch(80.5% 0.142 98.6);
Tailwind
colors: {
  custom: {
    50: '#e7d27f',
    500: '#d7c044',
    950: '#000000',
  },
}
SCSS
$custom: #d7c044;
$custom-light: #e7d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c044",
  "rgb": {
    "r": 215,
    "g": 192,
    "b": 68
  },
  "hsl": {
    "h": 50.612,
    "s": 64.758,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80517,
    "c": 0.14205,
    "h": 98.6
  },
  "luminance": 0.52564
}

Semantic roles & 50–950 ramp

primary
#D7C044
secondary
#34428B
accent
#5AE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D7C044

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

Preview Lab → · Contrast checker → · Palette generator →

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