#B0A72F#B0A72F

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

Color values

HEX#B0A72F
RGBrgb(176, 167, 47)
HSLhsl(56, 58%, 44%)
HSVhsv(56, 73%, 69%)
CMYKcmyk(0%, 5.1%, 73.3%, 31%)
CIE-LABlab(67.33, -10.50, 59.40)
CIE-LCHlch(67.33, 60.32, 100.02°)
OKLaboklab(71.48% -0.0351 0.1311)
OKLCHoklch(71.48% 0.136 105)
XYZxyz(32.2376, 37.0740, 8.1467)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A72F #2F38B0
analogous
#B0662F #B0A72F #78B02F
triadic
#B0A72F #2FB0A7 #A72FB0
tetradic
#B0A72F #2FB066 #2F38B0 #B02F78
square
#B0A72F #2FB066 #2F38B0 #B02F78
split-complementary
#B0A72F #2F78B0 #662FB0
monochromatic
#4F4B15 #807922 #B0A72F #CFC64D #DCD67D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0A72F#FFFFFF#000000##000000
##B0A72F1.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)
#B6A119
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#BD9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b0a72f;
/* rgb */ color: rgb(176, 167, 47);
/* oklch */ color: oklch(71.5% 0.136 105.0);
Tailwind
colors: {
  custom: {
    50: '#cbc070',
    500: '#b0a72f',
    950: '#000000',
  },
}
SCSS
$custom: #b0a72f;
$custom-light: #cbc070;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a72f",
  "rgb": {
    "r": 176,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 55.814,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71479,
    "c": 0.13573,
    "h": 105
  },
  "luminance": 0.37073
}

Semantic roles & 50–950 ramp

primary
#B0A72F
secondary
#767BC5
accent
#51E147
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B0A72F

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

Preview Lab → · Contrast checker → · Palette generator →

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