#D3C64F#D3C64F

#D3C64F is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.139 H 103.1°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#D3C64F
RGBrgb(211, 198, 79)
HSLhsl(54, 60%, 57%)
HSVhsv(54, 63%, 83%)
CMYKcmyk(0%, 6.2%, 62.6%, 17.3%)
CIE-LABlab(78.93, -9.70, 59.42)
CIE-LCHlch(78.93, 60.21, 99.27°)
OKLaboklab(81.5% -0.0315 0.1354)
OKLCHoklch(81.5% 0.139 103.1)
XYZxyz(48.4712, 54.8034, 15.4205)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C64F #4F5CD3
analogous
#D3844F #D3C64F #9ED34F
triadic
#D3C64F #4FD3C6 #C64FD3
tetradic
#D3C64F #4FD384 #4F5CD3 #D34F9E
square
#D3C64F #4FD384 #4F5CD3 #D34F9E
split-complementary
#D3C64F #4F9ED3 #844FD3
monochromatic
#867C22 #B7AA2E #D3C64F #DFD680 #EBE6B1

Accessibility & contrast

On white

1.76
#D3C64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#D3C64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C64F
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C64F#FFFFFF#000000##000000
##D3C64F1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C041
Deuteranopia (green-blind)
#DBC656
Tritanopia (blue-blind)
#E2B9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d3c64f;
/* rgb */ color: rgb(211, 198, 79);
/* oklch */ color: oklch(81.5% 0.139 103.1);
Tailwind
colors: {
  custom: {
    50: '#e4d785',
    500: '#d3c64f',
    950: '#000000',
  },
}
SCSS
$custom: #d3c64f;
$custom-light: #e4d785;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c64f",
  "rgb": {
    "r": 211,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 54.091,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81501,
    "c": 0.13897,
    "h": 103.1
  },
  "luminance": 0.54802
}

Semantic roles & 50–950 ramp

primary
#D3C64F
secondary
#39428D
accent
#54E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C64F

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

Preview Lab → · Contrast checker → · Palette generator →

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