#D7C041#D7C041

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

Color values

HEX#D7C041
RGBrgb(215, 192, 65)
HSLhsl(51, 65%, 55%)
HSVhsv(51, 70%, 84%)
CMYKcmyk(0%, 10.7%, 69.8%, 15.7%)
CIE-LABlab(77.60, -5.73, 63.86)
CIE-LCHlch(77.60, 64.12, 95.13°)
OKLaboklab(80.49% -0.0219 0.1424)
OKLCHoklch(80.49% 0.144 98.8)
XYZxyz(47.8303, 52.5303, 12.6200)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C041 #4158D7
analogous
#D77541 #D7C041 #A3D741
triadic
#D7C041 #41D7C0 #C041D7
tetradic
#D7C041 #41D775 #4158D7 #D741A3
square
#D7C041 #41D775 #4158D7 #D741A3
split-complementary
#D7C041 #41A3D7 #7541D7
monochromatic
#82721B #B59F26 #D7C041 #E2D174 #ECE2A6

Accessibility & contrast

On white

1.83
#D7C041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C041#FFFFFF#000000##000000
##D7C0411.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2E
Deuteranopia (green-blind)
#D9C349
Tritanopia (blue-blind)
#E8B2A6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7c041;
/* rgb */ color: rgb(215, 192, 65);
/* oklch */ color: oklch(80.5% 0.144 98.8);
Tailwind
colors: {
  custom: {
    50: '#e7d27d',
    500: '#d7c041',
    950: '#000000',
  },
}
SCSS
$custom: #d7c041;
$custom-light: #e7d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c041",
  "rgb": {
    "r": 215,
    "g": 192,
    "b": 65
  },
  "hsl": {
    "h": 50.8,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80494,
    "c": 0.14408,
    "h": 98.8
  },
  "luminance": 0.52528
}

Semantic roles & 50–950 ramp

primary
#D7C041
secondary
#334089
accent
#59E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D7C041

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

Preview Lab → · Contrast checker → · Palette generator →

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