#BDAF21#BDAF21

#BDAF21 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#BDAF21
RGBrgb(189, 175, 33)
HSLhsl(55, 70%, 44%)
HSVhsv(55, 83%, 74%)
CMYKcmyk(0%, 7.4%, 82.5%, 25.9%)
CIE-LABlab(70.59, -9.48, 67.16)
CIE-LCHlch(70.59, 67.83, 98.04°)
OKLaboklab(74.32% -0.0341 0.1445)
OKLCHoklch(74.32% 0.148 103.3)
XYZxyz(36.5925, 41.5902, 7.5388)
Luminance0.4159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF21 #212FBD
analogous
#BD6121 #BDAF21 #7DBD21
triadic
#BDAF21 #21BDAF #AF21BD
tetradic
#BDAF21 #21BD61 #212FBD #BD217D
square
#BDAF21 #21BD61 #212FBD #BD217D
split-complementary
#BDAF21 #217DBD #6121BD
monochromatic
#554F0F #897F18 #BDAF21 #DDCF3E #E6DC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDAF21#FFFFFF#000000##000000
##BDAF211.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)
#C4B02E
Tritanopia (blue-blind)
#CCA296
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf21;
/* rgb */ color: rgb(189, 175, 33);
/* oklch */ color: oklch(74.3% 0.148 103.3);
Tailwind
colors: {
  custom: {
    50: '#d5c66b',
    500: '#bdaf21',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf21;
$custom-light: #d5c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf21",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 33
  },
  "hsl": {
    "h": 54.615,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74321,
    "c": 0.14848,
    "h": 103.3
  },
  "luminance": 0.41589
}

Semantic roles & 50–950 ramp

primary
#BDAF21
secondary
#6D75CD
accent
#4BED3B
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BDAF21

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

Preview Lab → · Contrast checker → · Palette generator →

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