#D3BF22#D3BF22

#D3BF22 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.159 H 101.3°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#D3BF22
RGBrgb(211, 191, 34)
HSLhsl(53, 72%, 48%)
HSVhsv(53, 84%, 83%)
CMYKcmyk(0%, 9.5%, 83.9%, 17.3%)
CIE-LABlab(76.82, -8.12, 72.94)
CIE-LCHlch(76.82, 73.39, 96.35°)
OKLaboklab(79.74% -0.0313 0.1562)
OKLCHoklch(79.74% 0.159 101.3)
XYZxyz(45.7858, 51.2282, 8.9894)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BF22 #2236D3
analogous
#D36622 #D3BF22 #8FD322
triadic
#D3BF22 #22D3BF #BF22D3
tetradic
#D3BF22 #22D366 #2236D3 #D3228F
square
#D3BF22 #22D366 #2236D3 #D3228F
split-complementary
#D3BF22 #228FD3 #6622D3
monochromatic
#6A6011 #9E8F1A #D3BF22 #E3D24F #EBE084

Accessibility & contrast

On white

1.87
#D3BF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#D3BF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BF22
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BF22#FFFFFF#000000##000000
##D3BF221.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2B900
Deuteranopia (green-blind)
#D8C131
Tritanopia (blue-blind)
#E4B0A3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d3bf22;
/* rgb */ color: rgb(211, 191, 34);
/* oklch */ color: oklch(79.7% 0.159 101.3);
Tailwind
colors: {
  custom: {
    50: '#e5d16e',
    500: '#d3bf22',
    950: '#000000',
  },
}
SCSS
$custom: #d3bf22;
$custom-light: #e5d16e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bf22",
  "rgb": {
    "r": 211,
    "g": 191,
    "b": 34
  },
  "hsl": {
    "h": 53.22,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7974,
    "c": 0.15928,
    "h": 101.3
  },
  "luminance": 0.51226
}

Semantic roles & 50–950 ramp

primary
#D3BF22
secondary
#262F73
accent
#4DEF39
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171408
muted
#85837D

Preview Lab

Preview with #D3BF22

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

Preview Lab → · Contrast checker → · Palette generator →

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