#D3C022#D3C022

#D3C022 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.160 H 101.8°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#D3C022
RGBrgb(211, 192, 34)
HSLhsl(54, 72%, 48%)
HSVhsv(54, 84%, 83%)
CMYKcmyk(0%, 9%, 83.9%, 17.3%)
CIE-LABlab(77.08, -8.63, 73.16)
CIE-LCHlch(77.08, 73.67, 96.73°)
OKLaboklab(79.95% -0.0327 0.1567)
OKLCHoklch(79.95% 0.16 101.8)
XYZxyz(46.0047, 51.6658, 9.0623)
Luminance0.5166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C022 #2235D3
analogous
#D36722 #D3C022 #8ED322
triadic
#D3C022 #22D3C0 #C022D3
tetradic
#D3C022 #22D367 #2235D3 #D3228E
square
#D3C022 #22D367 #2235D3 #D3228E
split-complementary
#D3C022 #228ED3 #6722D3
monochromatic
#6A6011 #9E901A #D3C022 #E3D34F #EBE084

Accessibility & contrast

On white

1.85
#D3C022 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#D3C022 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C022
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C022#FFFFFF#000000##000000
##D3C0221.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#D8C231
Tritanopia (blue-blind)
#E4B1A4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d3c022;
/* rgb */ color: rgb(211, 192, 34);
/* oklch */ color: oklch(79.9% 0.160 101.8);
Tailwind
colors: {
  custom: {
    50: '#e5d26f',
    500: '#d3c022',
    950: '#000000',
  },
}
SCSS
$custom: #d3c022;
$custom-light: #e5d26f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c022",
  "rgb": {
    "r": 211,
    "g": 192,
    "b": 34
  },
  "hsl": {
    "h": 53.559,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79949,
    "c": 0.16003,
    "h": 101.8
  },
  "luminance": 0.51664
}

Semantic roles & 50–950 ramp

primary
#D3C022
secondary
#262E73
accent
#4CEF39
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171408
muted
#85837D

Preview Lab

Preview with #D3C022

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

Preview Lab → · Contrast checker → · Palette generator →

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