#B0A82F#B0A82F

#B0A82F is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.7% C 0.137 H 105.5°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#B0A82F
RGBrgb(176, 168, 47)
HSLhsl(56, 58%, 44%)
HSVhsv(56, 73%, 69%)
CMYKcmyk(0%, 4.5%, 73.3%, 31%)
CIE-LABlab(67.61, -11.02, 59.66)
CIE-LCHlch(67.61, 60.67, 100.46°)
OKLaboklab(71.7% -0.0366 0.1317)
OKLCHoklch(71.7% 0.137 105.5)
XYZxyz(32.4216, 37.4418, 8.2080)
Luminance0.3744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A82F #2F37B0
analogous
#B0672F #B0A82F #77B02F
triadic
#B0A82F #2FB0A8 #A82FB0
tetradic
#B0A82F #2FB067 #2F37B0 #B02F77
square
#B0A82F #2FB067 #2F37B0 #B02F77
split-complementary
#B0A82F #2F77B0 #672FB0
monochromatic
#4F4C15 #807A22 #B0A82F #CFC74D #DCD67D

Accessibility & contrast

On white

2.47
#B0A82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#B0A82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A82F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A82F#FFFFFF#000000##000000
##B0A82F1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A218
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#BD9C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b0a82f;
/* rgb */ color: rgb(176, 168, 47);
/* oklch */ color: oklch(71.7% 0.137 105.5);
Tailwind
colors: {
  custom: {
    50: '#cbc170',
    500: '#b0a82f',
    950: '#000000',
  },
}
SCSS
$custom: #b0a82f;
$custom-light: #cbc170;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a82f",
  "rgb": {
    "r": 176,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 56.279,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71697,
    "c": 0.13666,
    "h": 105.5
  },
  "luminance": 0.37441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0A82F

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

Preview Lab → · Contrast checker → · Palette generator →

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