#B0AA31#B0AA31

#B0AA31 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.1% C 0.137 H 106.5°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#B0AA31
RGBrgb(176, 170, 49)
HSLhsl(57, 56%, 44%)
HSVhsv(57, 72%, 69%)
CMYKcmyk(0%, 3.4%, 72.2%, 31%)
CIE-LABlab(68.17, -11.97, 59.48)
CIE-LCHlch(68.17, 60.67, 101.37°)
OKLaboklab(72.15% -0.039 0.1316)
OKLCHoklch(72.15% 0.137 106.5)
XYZxyz(32.8349, 38.2025, 8.5494)
Luminance0.3820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AA31 #3137B0
analogous
#B06B31 #B0AA31 #77B031
triadic
#B0AA31 #31B0AA #AA31B0
tetradic
#B0AA31 #31B06B #3137B0 #B03177
square
#B0AA31 #31B06B #3137B0 #B03177
split-complementary
#B0AA31 #3177B0 #6B31B0
monochromatic
#504E16 #807C24 #B0AA31 #CEC850 #DCD780

Accessibility & contrast

On white

2.43
#B0AA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#B0AA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AA31
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AA31#FFFFFF#000000##000000
##B0AA311.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41C
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#BD9F92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b0aa31;
/* rgb */ color: rgb(176, 170, 49);
/* oklch */ color: oklch(72.1% 0.137 106.5);
Tailwind
colors: {
  custom: {
    50: '#cbc372',
    500: '#b0aa31',
    950: '#000000',
  },
}
SCSS
$custom: #b0aa31;
$custom-light: #cbc372;
$custom-dark: #000000;
JSON
{
  "hex": "#b0aa31",
  "rgb": {
    "r": 176,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 57.165,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72149,
    "c": 0.13731,
    "h": 106.5
  },
  "luminance": 0.38201
}

Semantic roles & 50–950 ramp

primary
#B0AA31
secondary
#787CC5
accent
#4FE048
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B0AA31

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

Preview Lab → · Contrast checker → · Palette generator →

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