#B0AF32#B0AF32

#B0AF32 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.3% C 0.142 H 109.0°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#B0AF32
RGBrgb(176, 175, 50)
HSLhsl(60, 56%, 44%)
HSVhsv(60, 72%, 69%)
CMYKcmyk(0%, 0.6%, 71.6%, 31%)
CIE-LABlab(69.56, -14.50, 60.45)
CIE-LCHlch(69.56, 62.17, 103.49°)
OKLaboklab(73.26% -0.046 0.1339)
OKLCHoklch(73.26% 0.142 109)
XYZxyz(33.8114, 40.1214, 8.9801)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF32 #3233B0
analogous
#B07032 #B0AF32 #72B032
triadic
#B0AF32 #32B0AF #AF32B0
tetradic
#B0AF32 #32B070 #3233B0 #B03272
square
#B0AF32 #32B070 #3233B0 #B03272
split-complementary
#B0AF32 #3272B0 #7032B0
monochromatic
#515017 #808024 #B0AF32 #CECD51 #DBDB81

Accessibility & contrast

On white

2.33
#B0AF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#B0AF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AF32
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AF32#FFFFFF#000000##000000
##B0AF321.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA81B
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#BDA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b0af32;
/* rgb */ color: rgb(176, 175, 50);
/* oklch */ color: oklch(73.3% 0.142 109.0);
Tailwind
colors: {
  custom: {
    50: '#cbc673',
    500: '#b0af32',
    950: '#000000',
  },
}
SCSS
$custom: #b0af32;
$custom-light: #cbc673;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af32",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 59.524,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73257,
    "c": 0.14158,
    "h": 109
  },
  "luminance": 0.4012
}

Semantic roles & 50–950 ramp

primary
#B0AF32
secondary
#797AC4
accent
#4ADF49
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0AF32

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

Preview Lab → · Contrast checker → · Palette generator →

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