#B0AB2D#B0AB2D

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

Color values

HEX#B0AB2D
RGBrgb(176, 171, 45)
HSLhsl(58, 59%, 43%)
HSVhsv(58, 74%, 69%)
CMYKcmyk(0%, 2.8%, 74.4%, 31%)
CIE-LABlab(68.42, -12.67, 61.14)
CIE-LCHlch(68.42, 62.44, 101.71°)
OKLaboklab(72.34% -0.0414 0.1344)
OKLCHoklch(72.34% 0.141 107.1)
XYZxyz(32.9424, 38.5465, 8.1871)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB2D #2D32B0
analogous
#B0692D #B0AB2D #73B02D
triadic
#B0AB2D #2DB0AB #AB2DB0
tetradic
#B0AB2D #2DB069 #2D32B0 #B02D73
square
#B0AB2D #2DB069 #2D32B0 #B02D73
split-complementary
#B0AB2D #2D73B0 #692DB0
monochromatic
#4F4C14 #7F7C21 #B0AB2D #D1CB4A #DDD97A

Accessibility & contrast

On white

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

On black

8.71
#B0AB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AB2D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AB2D#FFFFFF#000000##000000
##B0AB2D1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0ab2d;
/* rgb */ color: rgb(176, 171, 45);
/* oklch */ color: oklch(72.3% 0.141 107.1);
Tailwind
colors: {
  custom: {
    50: '#cbc370',
    500: '#b0ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab2d;
$custom-light: #cbc370;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab2d",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 57.71,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72343,
    "c": 0.14065,
    "h": 107.1
  },
  "luminance": 0.38545
}

Semantic roles & 50–950 ramp

primary
#B0AB2D
secondary
#7377C5
accent
#4BE245
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B0AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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