#BDAF22#BDAF22

#BDAF22 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.3% C 0.148 H 103.3°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#BDAF22
RGBrgb(189, 175, 34)
HSLhsl(55, 70%, 44%)
HSVhsv(55, 82%, 74%)
CMYKcmyk(0%, 7.4%, 82%, 25.9%)
CIE-LABlab(70.59, -9.45, 66.90)
CIE-LCHlch(70.59, 67.56, 98.04°)
OKLaboklab(74.33% -0.034 0.1441)
OKLCHoklch(74.33% 0.148 103.3)
XYZxyz(36.6067, 41.5959, 7.6136)
Luminance0.4159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF22 #2230BD
analogous
#BD6122 #BDAF22 #7DBD22
triadic
#BDAF22 #22BDAF #AF22BD
tetradic
#BDAF22 #22BD61 #2230BD #BD227D
square
#BDAF22 #22BD61 #2230BD #BD227D
split-complementary
#BDAF22 #227DBD #6122BD
monochromatic
#554F0F #897F19 #BDAF22 #DDCE40 #E6DC73

Accessibility & contrast

On white

2.25
#BDAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#BDAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF22
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF22#FFFFFF#000000##000000
##BDAF221.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C4B02F
Tritanopia (blue-blind)
#CCA296
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf22;
/* rgb */ color: rgb(189, 175, 34);
/* oklch */ color: oklch(74.3% 0.148 103.3);
Tailwind
colors: {
  custom: {
    50: '#d5c66c',
    500: '#bdaf22',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf22;
$custom-light: #d5c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf22",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 54.581,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74326,
    "c": 0.14806,
    "h": 103.3
  },
  "luminance": 0.41594
}

Semantic roles & 50–950 ramp

primary
#BDAF22
secondary
#6E76CD
accent
#4BEC3B
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151208
muted
#83817B

Preview Lab

Preview with #BDAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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