#B0A031#B0A031

#B0A031 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.128 H 100.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B0A031
RGBrgb(176, 160, 49)
HSLhsl(52, 56%, 44%)
HSVhsv(52, 72%, 69%)
CMYKcmyk(0%, 9.1%, 72.2%, 31%)
CIE-LABlab(65.43, -6.71, 56.81)
CIE-LCHlch(65.43, 57.21, 96.74°)
OKLaboklab(69.97% -0.0242 0.126)
OKLCHoklch(69.97% 0.128 100.9)
XYZxyz(31.0311, 34.5949, 7.9481)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A031 #3141B0
analogous
#B06131 #B0A031 #81B031
triadic
#B0A031 #31B0A0 #A031B0
tetradic
#B0A031 #31B061 #3141B0 #B03181
square
#B0A031 #31B061 #3141B0 #B03181
split-complementary
#B0A031 #3181B0 #6131B0
monochromatic
#504916 #807424 #B0A031 #CEBE50 #DCD080

Accessibility & contrast

On white

2.65
#B0A031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B0A031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A031
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A031#FFFFFF#000000##000000
##B0A0311.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#BE948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b0a031;
/* rgb */ color: rgb(176, 160, 49);
/* oklch */ color: oklch(70.0% 0.128 100.9);
Tailwind
colors: {
  custom: {
    50: '#cbbb71',
    500: '#b0a031',
    950: '#000000',
  },
}
SCSS
$custom: #b0a031;
$custom-light: #cbbb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a031",
  "rgb": {
    "r": 176,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 52.441,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69972,
    "c": 0.12832,
    "h": 100.9
  },
  "luminance": 0.34593
}

Semantic roles & 50–950 ramp

primary
#B0A031
secondary
#7882C5
accent
#5BE048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #B0A031

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

Preview Lab → · Contrast checker → · Palette generator →

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