#B0AB3A#B0AB3A

#B0AB3A is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.4% C 0.132 H 106.8°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#B0AB3A
RGBrgb(176, 171, 58)
HSLhsl(57, 50%, 46%)
HSVhsv(57, 67%, 69%)
CMYKcmyk(0%, 2.8%, 67%, 31%)
CIE-LABlab(68.51, -12.01, 56.33)
CIE-LCHlch(68.51, 57.60, 102.03°)
OKLaboklab(72.44% -0.0382 0.1266)
OKLCHoklch(72.44% 0.132 106.8)
XYZxyz(33.2323, 38.6625, 9.7142)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB3A #3A3FB0
analogous
#B0703A #B0AB3A #7AB03A
triadic
#B0AB3A #3AB0AB #AB3AB0
tetradic
#B0AB3A #3AB070 #3A3FB0 #B03A7A
square
#B0AB3A #3AB070 #3A3FB0 #B03A7A
split-complementary
#B0AB3A #3A7AB0 #703AB0
monochromatic
#54521C #827E2B #B0AB3A #CAC55D #D9D68B

Accessibility & contrast

On white

2.40
#B0AB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#B0AB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AB3A
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AB3A#FFFFFF#000000##000000
##B0AB3A1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A52A
Deuteranopia (green-blind)
#BCA941
Tritanopia (blue-blind)
#BDA094
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b0ab3a;
/* rgb */ color: rgb(176, 171, 58);
/* oklch */ color: oklch(72.4% 0.132 106.8);
Tailwind
colors: {
  custom: {
    50: '#cbc377',
    500: '#b0ab3a',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab3a;
$custom-light: #cbc377;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab3a",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 57.458,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72437,
    "c": 0.13221,
    "h": 106.8
  },
  "luminance": 0.38661
}

Semantic roles & 50–950 ramp

primary
#B0AB3A
secondary
#8285C3
accent
#54DA4E
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B0AB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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