#BDAF38#BDAF38

#BDAF38 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.5% C 0.136 H 102.5°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#BDAF38
RGBrgb(189, 175, 56)
HSLhsl(54, 54%, 48%)
HSVhsv(54, 70%, 74%)
CMYKcmyk(0%, 7.4%, 70.4%, 25.9%)
CIE-LABlab(70.71, -8.56, 59.71)
CIE-LCHlch(70.71, 60.32, 98.16°)
OKLaboklab(74.46% -0.0294 0.1329)
OKLCHoklch(74.46% 0.136 102.5)
XYZxyz(37.0316, 41.7658, 9.8516)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF38 #3846BD
analogous
#BD6C38 #BDAF38 #88BD38
triadic
#BDAF38 #38BDAF #AF38BD
tetradic
#BDAF38 #38BD6C #3846BD #BD3888
square
#BDAF38 #38BD6C #3846BD #BD3888
split-complementary
#BDAF38 #3888BD #6C38BD
monochromatic
#5F581C #8E832A #BDAF38 #D0C562 #DED691

Accessibility & contrast

On white

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

On black

9.35
#BDAF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF38
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF38#FFFFFF#000000##000000
##BDAF381.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA926
Deuteranopia (green-blind)
#C3B040
Tritanopia (blue-blind)
#CBA397
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf38;
/* rgb */ color: rgb(189, 175, 56);
/* oklch */ color: oklch(74.5% 0.136 102.5);
Tailwind
colors: {
  custom: {
    50: '#d4c676',
    500: '#bdaf38',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf38;
$custom-light: #d4c676;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf38",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 53.684,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74457,
    "c": 0.13616,
    "h": 102.5
  },
  "luminance": 0.41764
}

Semantic roles & 50–950 ramp

primary
#BDAF38
secondary
#878EC9
accent
#5ADE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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