#D7C341#D7C341

#D7C341 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.146 H 100.4°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#D7C341
RGBrgb(215, 195, 65)
HSLhsl(52, 65%, 55%)
HSVhsv(52, 70%, 84%)
CMYKcmyk(0%, 9.3%, 69.8%, 15.7%)
CIE-LABlab(78.38, -7.28, 64.64)
CIE-LCHlch(78.38, 65.05, 96.42°)
OKLaboklab(81.12% -0.0263 0.1441)
OKLCHoklch(81.12% 0.146 100.4)
XYZxyz(48.4958, 53.8612, 12.8418)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C341 #4155D7
analogous
#D77841 #D7C341 #A0D741
triadic
#D7C341 #41D7C3 #C341D7
tetradic
#D7C341 #41D778 #4155D7 #D741A0
square
#D7C341 #41D778 #4155D7 #D741A0
split-complementary
#D7C341 #41A0D7 #7841D7
monochromatic
#82741B #B5A226 #D7C341 #E2D374 #ECE3A6

Accessibility & contrast

On white

1.78
#D7C341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#D7C341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C341
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C341#FFFFFF#000000##000000
##D7C3411.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE2D
Deuteranopia (green-blind)
#DBC549
Tritanopia (blue-blind)
#E7B5A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7c341;
/* rgb */ color: rgb(215, 195, 65);
/* oklch */ color: oklch(81.1% 0.146 100.4);
Tailwind
colors: {
  custom: {
    50: '#e7d47d',
    500: '#d7c341',
    950: '#000000',
  },
}
SCSS
$custom: #d7c341;
$custom-light: #e7d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c341",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 65
  },
  "hsl": {
    "h": 52,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81116,
    "c": 0.14644,
    "h": 100.4
  },
  "luminance": 0.53859
}

Semantic roles & 50–950 ramp

primary
#D7C341
secondary
#333F89
accent
#56E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D7C341

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

Preview Lab → · Contrast checker → · Palette generator →

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