#BDAF23#BDAF23

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

Color values

HEX#BDAF23
RGBrgb(189, 175, 35)
HSLhsl(55, 69%, 44%)
HSVhsv(55, 81%, 74%)
CMYKcmyk(0%, 7.4%, 81.5%, 25.9%)
CIE-LABlab(70.60, -9.42, 66.63)
CIE-LCHlch(70.60, 67.29, 98.05°)
OKLaboklab(74.33% -0.0338 0.1437)
OKLCHoklch(74.33% 0.148 103.2)
XYZxyz(36.6214, 41.6017, 7.6907)
Luminance0.4160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF23 #2331BD
analogous
#BD6223 #BDAF23 #7EBD23
triadic
#BDAF23 #23BDAF #AF23BD
tetradic
#BDAF23 #23BD62 #2331BD #BD237E
square
#BDAF23 #23BD62 #2331BD #BD237E
split-complementary
#BDAF23 #237EBD #6223BD
monochromatic
#564F10 #897F19 #BDAF23 #DCCE41 #E5DB75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDAF23#FFFFFF#000000##000000
##BDAF231.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: #bdaf23;
/* rgb */ color: rgb(189, 175, 35);
/* oklch */ color: oklch(74.3% 0.148 103.2);
Tailwind
colors: {
  custom: {
    50: '#d5c66c',
    500: '#bdaf23',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf23;
$custom-light: #d5c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf23",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 54.545,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.7433,
    "c": 0.14765,
    "h": 103.2
  },
  "luminance": 0.416
}

Semantic roles & 50–950 ramp

primary
#BDAF23
secondary
#6F78CD
accent
#4CEC3C
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151208
muted
#83817B

Preview Lab

Preview with #BDAF23

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

Preview Lab → · Contrast checker → · Palette generator →

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