#D3BB22#D3BB22

#D3BB22 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.9% C 0.156 H 99.4°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#D3BB22
RGBrgb(211, 187, 34)
HSLhsl(52, 72%, 48%)
HSVhsv(52, 84%, 83%)
CMYKcmyk(0%, 11.4%, 83.9%, 17.3%)
CIE-LABlab(75.77, -6.06, 72.07)
CIE-LCHlch(75.77, 72.32, 94.81°)
OKLaboklab(78.91% -0.0255 0.1543)
OKLCHoklch(78.91% 0.156 99.4)
XYZxyz(44.9254, 49.5074, 8.7026)
Luminance0.4950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BB22 #223AD3
analogous
#D36222 #D3BB22 #93D322
triadic
#D3BB22 #22D3BB #BB22D3
tetradic
#D3BB22 #22D362 #223AD3 #D32293
square
#D3BB22 #22D362 #223AD3 #D32293
split-complementary
#D3BB22 #2293D3 #6222D3
monochromatic
#6A5E11 #9E8C1A #D3BB22 #E3CF4F #EBDD84

Accessibility & contrast

On white

1.93
#D3BB22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#D3BB22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BB22
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BB22#FFFFFF#000000##000000
##D3BB221.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#D5BE30
Tritanopia (blue-blind)
#E4ACA0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d3bb22;
/* rgb */ color: rgb(211, 187, 34);
/* oklch */ color: oklch(78.9% 0.156 99.4);
Tailwind
colors: {
  custom: {
    50: '#e5cf6e',
    500: '#d3bb22',
    950: '#000000',
  },
}
SCSS
$custom: #d3bb22;
$custom-light: #e5cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bb22",
  "rgb": {
    "r": 211,
    "g": 187,
    "b": 34
  },
  "hsl": {
    "h": 51.864,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78905,
    "c": 0.15635,
    "h": 99.4
  },
  "luminance": 0.49505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3BB22

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

Preview Lab → · Contrast checker → · Palette generator →

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