#D3BC22#D3BC22

#D3BC22 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.1% C 0.157 H 99.9°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#D3BC22
RGBrgb(211, 188, 34)
HSLhsl(52, 72%, 48%)
HSVhsv(52, 84%, 83%)
CMYKcmyk(0%, 10.9%, 83.9%, 17.3%)
CIE-LABlab(76.03, -6.58, 72.28)
CIE-LCHlch(76.03, 72.58, 95.20°)
OKLaboklab(79.11% -0.0269 0.1547)
OKLCHoklch(79.11% 0.157 99.9)
XYZxyz(45.1383, 49.9331, 8.7736)
Luminance0.4993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BC22 #2239D3
analogous
#D36322 #D3BC22 #92D322
triadic
#D3BC22 #22D3BC #BC22D3
tetradic
#D3BC22 #22D363 #2239D3 #D32292
square
#D3BC22 #22D363 #2239D3 #D32292
split-complementary
#D3BC22 #2292D3 #6322D3
monochromatic
#6A5E11 #9E8D1A #D3BC22 #E3D04F #EBDE84

Accessibility & contrast

On white

1.91
#D3BC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#D3BC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BC22
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BC22#FFFFFF#000000##000000
##D3BC221.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#D5BF30
Tritanopia (blue-blind)
#E4ADA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d3bc22;
/* rgb */ color: rgb(211, 188, 34);
/* oklch */ color: oklch(79.1% 0.157 99.9);
Tailwind
colors: {
  custom: {
    50: '#e5cf6e',
    500: '#d3bc22',
    950: '#000000',
  },
}
SCSS
$custom: #d3bc22;
$custom-light: #e5cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bc22",
  "rgb": {
    "r": 211,
    "g": 188,
    "b": 34
  },
  "hsl": {
    "h": 52.203,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79113,
    "c": 0.15707,
    "h": 99.9
  },
  "luminance": 0.49931
}

Semantic roles & 50–950 ramp

primary
#D3BC22
secondary
#7D88D4
accent
#51EF39
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#171308
muted
#85827B

Preview Lab

Preview with #D3BC22

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

Preview Lab → · Contrast checker → · Palette generator →

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