#B0A52F#B0A52F

#B0A52F is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.0% C 0.134 H 103.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B0A52F
RGBrgb(176, 165, 47)
HSLhsl(55, 58%, 44%)
HSVhsv(55, 73%, 69%)
CMYKcmyk(0%, 6.2%, 73.3%, 31%)
CIE-LABlab(66.78, -9.45, 58.88)
CIE-LCHlch(66.78, 59.63, 99.12°)
OKLaboklab(71.04% -0.0322 0.13)
OKLCHoklch(71.04% 0.134 103.9)
XYZxyz(31.8741, 36.3469, 8.0255)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A52F #2F3AB0
analogous
#B0642F #B0A52F #7AB02F
triadic
#B0A52F #2FB0A5 #A52FB0
tetradic
#B0A52F #2FB064 #2F3AB0 #B02F7A
square
#B0A52F #2FB064 #2F3AB0 #B02F7A
split-complementary
#B0A52F #2F7AB0 #642FB0
monochromatic
#4F4A15 #807822 #B0A52F #CFC44D #DCD47D

Accessibility & contrast

On white

2.54
#B0A52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B0A52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A52F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A52F#FFFFFF#000000##000000
##B0A52F1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1A
Deuteranopia (green-blind)
#B8A537
Tritanopia (blue-blind)
#BD998E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b0a52f;
/* rgb */ color: rgb(176, 165, 47);
/* oklch */ color: oklch(71.0% 0.134 103.9);
Tailwind
colors: {
  custom: {
    50: '#cbbf70',
    500: '#b0a52f',
    950: '#000000',
  },
}
SCSS
$custom: #b0a52f;
$custom-light: #cbbf70;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a52f",
  "rgb": {
    "r": 176,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 54.884,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71042,
    "c": 0.13392,
    "h": 103.9
  },
  "luminance": 0.36346
}

Semantic roles & 50–950 ramp

primary
#B0A52F
secondary
#767DC5
accent
#54E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B0A52F

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

Preview Lab → · Contrast checker → · Palette generator →

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