#BDA22F#BDA22F

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

Color values

HEX#BDA22F
RGBrgb(189, 162, 47)
HSLhsl(49, 60%, 46%)
HSVhsv(49, 75%, 74%)
CMYKcmyk(0%, 14.3%, 75.1%, 25.9%)
CIE-LABlab(67.18, -2.12, 59.67)
CIE-LCHlch(67.18, 59.71, 92.04°)
OKLaboklab(71.64% -0.0121 0.1312)
OKLCHoklch(71.64% 0.132 95.3)
XYZxyz(34.4215, 36.8666, 7.9917)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA22F #2F4ABD
analogous
#BD5B2F #BDA22F #91BD2F
triadic
#BDA22F #2FBDA2 #A22FBD
tetradic
#BDA22F #2FBD5B #2F4ABD #BD2F91
square
#BDA22F #2FBD5B #2F4ABD #BD2F91
split-complementary
#BDA22F #2F91BD #5B2FBD
monochromatic
#5B4E17 #8C7823 #BDA22F #D5BC55 #E1CF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDA22F#FFFFFF#000000##000000
##BDA22F1.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)
#B39F1A
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#CC958C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bda22f;
/* rgb */ color: rgb(189, 162, 47);
/* oklch */ color: oklch(71.6% 0.132 95.3);
Tailwind
colors: {
  custom: {
    50: '#d5bd70',
    500: '#bda22f',
    950: '#000000',
  },
}
SCSS
$custom: #bda22f;
$custom-light: #d5bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#bda22f",
  "rgb": {
    "r": 189,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 48.592,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71638,
    "c": 0.13172,
    "h": 95.3
  },
  "luminance": 0.36865
}

Semantic roles & 50–950 ramp

primary
#BDA22F
secondary
#7E8CCA
accent
#63E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BDA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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