#B0A72B#B0A72B

#B0A72B is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.138 H 105.1°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B0A72B
RGBrgb(176, 167, 43)
HSLhsl(56, 61%, 43%)
HSVhsv(56, 76%, 69%)
CMYKcmyk(0%, 5.1%, 75.6%, 31%)
CIE-LABlab(67.31, -10.68, 60.78)
CIE-LCHlch(67.31, 61.71, 99.96°)
OKLaboklab(71.45% -0.036 0.1333)
OKLCHoklch(71.45% 0.138 105.1)
XYZxyz(32.1606, 37.0432, 7.7410)
Luminance0.3704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A72B #2B34B0
analogous
#B0642B #B0A72B #76B02B
triadic
#B0A72B #2BB0A7 #A72BB0
tetradic
#B0A72B #2BB064 #2B34B0 #B02B76
square
#B0A72B #2BB064 #2B34B0 #B02B76
split-complementary
#B0A72B #2B76B0 #642BB0
monochromatic
#4E4A13 #7F781F #B0A72B #D2C846 #DED778

Accessibility & contrast

On white

2.50
#B0A72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#B0A72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A72B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A72B#FFFFFF#000000##000000
##B0A72B1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A110
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#BD9B8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b0a72b;
/* rgb */ color: rgb(176, 167, 43);
/* oklch */ color: oklch(71.5% 0.138 105.1);
Tailwind
colors: {
  custom: {
    50: '#cbc06e',
    500: '#b0a72b',
    950: '#000000',
  },
}
SCSS
$custom: #b0a72b;
$custom-light: #cbc06e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a72b",
  "rgb": {
    "r": 176,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 55.94,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71453,
    "c": 0.13806,
    "h": 105.1
  },
  "luminance": 0.37042
}

Semantic roles & 50–950 ramp

primary
#B0A72B
secondary
#7177C6
accent
#4FE444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B0A72B

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

Preview Lab → · Contrast checker → · Palette generator →

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