#BDAF30#BDAF30

#BDAF30 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.141 H 102.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#BDAF30
RGBrgb(189, 175, 48)
HSLhsl(54, 59%, 46%)
HSVhsv(54, 75%, 74%)
CMYKcmyk(0%, 7.4%, 74.6%, 25.9%)
CIE-LABlab(70.66, -8.94, 62.61)
CIE-LCHlch(70.66, 63.24, 98.12°)
OKLaboklab(74.4% -0.0313 0.1376)
OKLCHoklch(74.4% 0.141 102.8)
XYZxyz(36.8514, 41.6937, 8.9023)
Luminance0.4169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF30 #303EBD
analogous
#BD6930 #BDAF30 #85BD30
triadic
#BDAF30 #30BDAF #AF30BD
tetradic
#BDAF30 #30BD69 #303EBD #BD3085
square
#BDAF30 #30BD69 #303EBD #BD3085
split-complementary
#BDAF30 #3085BD #6930BD
monochromatic
#5B5517 #8C8224 #BDAF30 #D4C856 #E0D887

Accessibility & contrast

On white

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

On black

9.34
#BDAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF30
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF30#FFFFFF#000000##000000
##BDAF301.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA917
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#CCA297
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf30;
/* rgb */ color: rgb(189, 175, 48);
/* oklch */ color: oklch(74.4% 0.141 102.8);
Tailwind
colors: {
  custom: {
    50: '#d5c672',
    500: '#bdaf30',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf30;
$custom-light: #d5c672;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf30",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 54.043,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74401,
    "c": 0.14112,
    "h": 102.8
  },
  "luminance": 0.41692
}

Semantic roles & 50–950 ramp

primary
#BDAF30
secondary
#7F86CA
accent
#55E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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