#B0AB2A#B0AB2A

#B0AB2A is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.3% C 0.142 H 107.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#B0AB2A
RGBrgb(176, 171, 42)
HSLhsl(58, 61%, 43%)
HSVhsv(58, 76%, 69%)
CMYKcmyk(0%, 2.8%, 76.1%, 31%)
CIE-LABlab(68.41, -12.80, 62.13)
CIE-LCHlch(68.41, 63.44, 101.64°)
OKLaboklab(72.32% -0.042 0.136)
OKLCHoklch(72.32% 0.142 107.2)
XYZxyz(32.8867, 38.5243, 7.8936)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB2A #2A2FB0
analogous
#B0682A #B0AB2A #72B02A
triadic
#B0AB2A #2AB0AB #AB2AB0
tetradic
#B0AB2A #2AB068 #2A2FB0 #B02A72
square
#B0AB2A #2AB068 #2A2FB0 #B02A72
split-complementary
#B0AB2A #2A72B0 #682AB0
monochromatic
#4D4B12 #7F7B1E #B0AB2A #D3CD45 #DEDA76

Accessibility & contrast

On white

2.41
#B0AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#B0AB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AB2A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AB2A#FFFFFF#000000##000000
##B0AB2A1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA40A
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#BD9F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b0ab2a;
/* rgb */ color: rgb(176, 171, 42);
/* oklch */ color: oklch(72.3% 0.142 107.2);
Tailwind
colors: {
  custom: {
    50: '#cbc36e',
    500: '#b0ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab2a;
$custom-light: #cbc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab2a",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 57.761,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72324,
    "c": 0.14232,
    "h": 107.2
  },
  "luminance": 0.38523
}

Semantic roles & 50–950 ramp

primary
#B0AB2A
secondary
#7073C6
accent
#49E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B0AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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