#D7CD3F#D7CD3F

#D7CD3F is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.156 H 105.3°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#D7CD3F
RGBrgb(215, 205, 63)
HSLhsl(56, 66%, 55%)
HSVhsv(56, 71%, 84%)
CMYKcmyk(0%, 4.7%, 70.7%, 15.7%)
CIE-LABlab(81.00, -12.45, 67.97)
CIE-LCHlch(81.00, 69.10, 100.38°)
OKLaboklab(83.19% -0.0412 0.1507)
OKLCHoklch(83.19% 0.156 105.3)
XYZxyz(50.7549, 58.4705, 13.3141)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD3F #3F49D7
analogous
#D7813F #D7CD3F #95D73F
triadic
#D7CD3F #3FD7CD #CD3FD7
tetradic
#D7CD3F #3FD781 #3F49D7 #D73F95
square
#D7CD3F #3FD781 #3F49D7 #D73F95
split-complementary
#D7CD3F #3F95D7 #813FD7
monochromatic
#817A1B #B3AA25 #D7CD3F #E2DA72 #ECE7A4

Accessibility & contrast

On white

1.65
#D7CD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#D7CD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD3F
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD3F#FFFFFF#000000##000000
##D7CD3F1.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC627
Deuteranopia (green-blind)
#E2CC49
Tritanopia (blue-blind)
#E7BFB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cd3f;
/* rgb */ color: rgb(215, 205, 63);
/* oklch */ color: oklch(83.2% 0.156 105.3);
Tailwind
colors: {
  custom: {
    50: '#e7db7d',
    500: '#d7cd3f',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd3f;
$custom-light: #e7db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd3f",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 56.053,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83193,
    "c": 0.15625,
    "h": 105.3
  },
  "luminance": 0.58469
}

Semantic roles & 50–950 ramp

primary
#D7CD3F
secondary
#323888
accent
#4AE83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D7CD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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