#B0AF37#B0AF37

#B0AF37 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.3% C 0.138 H 108.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#B0AF37
RGBrgb(176, 175, 55)
HSLhsl(60, 52%, 45%)
HSVhsv(60, 69%, 69%)
CMYKcmyk(0%, 0.6%, 68.8%, 31%)
CIE-LABlab(69.59, -14.24, 58.61)
CIE-LCHlch(69.59, 60.32, 103.65°)
OKLaboklab(73.29% -0.0448 0.1309)
OKLCHoklch(73.29% 0.138 108.9)
XYZxyz(33.9252, 40.1669, 9.5796)
Luminance0.4017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF37 #3738B0
analogous
#B07237 #B0AF37 #74B037
triadic
#B0AF37 #37B0AF #AF37B0
tetradic
#B0AF37 #37B072 #3738B0 #B03774
square
#B0AF37 #37B072 #3738B0 #B03774
split-complementary
#B0AF37 #3774B0 #7237B0
monochromatic
#53521A #818128 #B0AF37 #CBCA59 #DAD988

Accessibility & contrast

On white

2.32
#B0AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#B0AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AF37
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AF37#FFFFFF#000000##000000
##B0AF371.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA824
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#BCA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b0af37;
/* rgb */ color: rgb(176, 175, 55);
/* oklch */ color: oklch(73.3% 0.138 108.9);
Tailwind
colors: {
  custom: {
    50: '#cbc675',
    500: '#b0af37',
    950: '#000000',
  },
}
SCSS
$custom: #b0af37;
$custom-light: #cbc675;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af37",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 59.504,
    "s": 52.381,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73293,
    "c": 0.13833,
    "h": 108.9
  },
  "luminance": 0.40166
}

Semantic roles & 50–950 ramp

primary
#B0AF37
secondary
#7F80C4
accent
#4DDC4C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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