#BDA22B#BDA22B

#BDA22B is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.134 H 95.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#BDA22B
RGBrgb(189, 162, 43)
HSLhsl(49, 63%, 45%)
HSVhsv(49, 77%, 74%)
CMYKcmyk(0%, 14.3%, 77.2%, 25.9%)
CIE-LABlab(67.15, -2.29, 61.07)
CIE-LCHlch(67.15, 61.11, 92.15°)
OKLaboklab(71.61% -0.013 0.1334)
OKLCHoklch(71.61% 0.134 95.6)
XYZxyz(34.3445, 36.8358, 7.5861)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA22B #2B46BD
analogous
#BD592B #BDA22B #8FBD2B
triadic
#BDA22B #2BBDA2 #A22BBD
tetradic
#BDA22B #2BBD59 #2B46BD #BD2B8F
square
#BDA22B #2BBD59 #2B46BD #BD2B8F
split-complementary
#BDA22B #2B8FBD #592BBD
monochromatic
#594D14 #8B7720 #BDA22B #D7BE4E #E2D080

Accessibility & contrast

On white

2.51
#BDA22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#BDA22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA22B
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA22B#FFFFFF#000000##000000
##BDA22B1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F12
Deuteranopia (green-blind)
#BAA733
Tritanopia (blue-blind)
#CC958B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bda22b;
/* rgb */ color: rgb(189, 162, 43);
/* oklch */ color: oklch(71.6% 0.134 95.6);
Tailwind
colors: {
  custom: {
    50: '#d5bd6e',
    500: '#bda22b',
    950: '#000000',
  },
}
SCSS
$custom: #bda22b;
$custom-light: #d5bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bda22b",
  "rgb": {
    "r": 189,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 48.904,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71612,
    "c": 0.13398,
    "h": 95.6
  },
  "luminance": 0.36834
}

Semantic roles & 50–950 ramp

primary
#BDA22B
secondary
#7988CB
accent
#60E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #BDA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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