#D3C340#D3C340

#D3C340 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.147 H 102.2°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#D3C340
RGBrgb(211, 195, 64)
HSLhsl(53, 63%, 54%)
HSVhsv(53, 70%, 83%)
CMYKcmyk(0%, 7.6%, 69.7%, 17.3%)
CIE-LABlab(78.02, -9.03, 64.55)
CIE-LCHlch(78.02, 65.18, 97.96°)
OKLaboklab(80.75% -0.0312 0.1438)
OKLCHoklch(80.75% 0.147 102.2)
XYZxyz(47.3065, 53.2513, 12.6362)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C340 #4050D3
analogous
#D37A40 #D3C340 #9AD340
triadic
#D3C340 #40D3C3 #C340D3
tetradic
#D3C340 #40D37A #4050D3 #D3409A
square
#D3C340 #40D37A #4050D3 #D3409A
split-complementary
#D3C340 #409AD3 #7A40D3
monochromatic
#7C721D #AE9F28 #D3C340 #DED372 #EAE2A3

Accessibility & contrast

On white

1.80
#D3C340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#D3C340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C340
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C340#FFFFFF#000000##000000
##D3C3401.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2C
Deuteranopia (green-blind)
#D9C448
Tritanopia (blue-blind)
#E3B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d3c340;
/* rgb */ color: rgb(211, 195, 64);
/* oklch */ color: oklch(80.7% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#e4d47d',
    500: '#d3c340',
    950: '#000000',
  },
}
SCSS
$custom: #d3c340;
$custom-light: #e4d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c340",
  "rgb": {
    "r": 211,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 53.469,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80746,
    "c": 0.14716,
    "h": 102.2
  },
  "luminance": 0.53249
}

Semantic roles & 50–950 ramp

primary
#D3C340
secondary
#333C84
accent
#54E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C340

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

Preview Lab → · Contrast checker → · Palette generator →

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