#B0A22F#B0A22F

#B0A22F is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.4% C 0.131 H 102.2°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B0A22F
RGBrgb(176, 162, 47)
HSLhsl(53, 58%, 44%)
HSVhsv(53, 73%, 69%)
CMYKcmyk(0%, 8%, 73.3%, 31%)
CIE-LABlab(65.96, -7.87, 58.09)
CIE-LCHlch(65.96, 58.62, 97.71°)
OKLaboklab(70.39% -0.0277 0.1283)
OKLCHoklch(70.39% 0.131 102.2)
XYZxyz(31.3393, 35.2774, 7.8472)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A22F #2F3DB0
analogous
#B0612F #B0A22F #7DB02F
triadic
#B0A22F #2FB0A2 #A22FB0
tetradic
#B0A22F #2FB061 #2F3DB0 #B02F7D
square
#B0A22F #2FB061 #2F3DB0 #B02F7D
split-complementary
#B0A22F #2F7DB0 #612FB0
monochromatic
#4F4915 #807622 #B0A22F #CFC14D #DCD27D

Accessibility & contrast

On white

2.61
#B0A22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B0A22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A22F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A22F#FFFFFF#000000##000000
##B0A22F1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1B
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#BE968C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b0a22f;
/* rgb */ color: rgb(176, 162, 47);
/* oklch */ color: oklch(70.4% 0.131 102.2);
Tailwind
colors: {
  custom: {
    50: '#cbbd70',
    500: '#b0a22f',
    950: '#000000',
  },
}
SCSS
$custom: #b0a22f;
$custom-light: #cbbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a22f",
  "rgb": {
    "r": 176,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 53.488,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7039,
    "c": 0.13129,
    "h": 102.2
  },
  "luminance": 0.35276
}

Semantic roles & 50–950 ramp

primary
#B0A22F
secondary
#767EC5
accent
#57E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B0A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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