#D3C322#D3C322

#D3C322 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.162 H 103.2°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#D3C322
RGBrgb(211, 195, 34)
HSLhsl(55, 72%, 48%)
HSVhsv(55, 84%, 83%)
CMYKcmyk(0%, 7.6%, 83.9%, 17.3%)
CIE-LABlab(77.87, -10.16, 73.82)
CIE-LCHlch(77.87, 74.52, 97.84°)
OKLaboklab(80.58% -0.037 0.1581)
OKLCHoklch(80.58% 0.162 103.2)
XYZxyz(46.6701, 52.9967, 9.2842)
Luminance0.5300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C322 #2232D3
analogous
#D36A22 #D3C322 #8BD322
triadic
#D3C322 #22D3C3 #C322D3
tetradic
#D3C322 #22D36A #2232D3 #D3228B
square
#D3C322 #22D36A #2232D3 #D3228B
split-complementary
#D3C322 #228BD3 #6A22D3
monochromatic
#6A6211 #9E921A #D3C322 #E3D54F #EBE284

Accessibility & contrast

On white

1.81
#D3C322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#D3C322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C322
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C322#FFFFFF#000000##000000
##D3C3221.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BC00
Deuteranopia (green-blind)
#DBC431
Tritanopia (blue-blind)
#E4B5A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c322;
/* rgb */ color: rgb(211, 195, 34);
/* oklch */ color: oklch(80.6% 0.162 103.2);
Tailwind
colors: {
  custom: {
    50: '#e5d46f',
    500: '#d3c322',
    950: '#000000',
  },
}
SCSS
$custom: #d3c322;
$custom-light: #e5d46f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c322",
  "rgb": {
    "r": 211,
    "g": 195,
    "b": 34
  },
  "hsl": {
    "h": 54.576,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.80579,
    "c": 0.16238,
    "h": 103.2
  },
  "luminance": 0.52995
}

Semantic roles & 50–950 ramp

primary
#D3C322
secondary
#262D73
accent
#49EF39
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171408
muted
#85837D

Preview Lab

Preview with #D3C322

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

Preview Lab → · Contrast checker → · Palette generator →

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