#B0A22B#B0A22B

#B0A22B is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.4% C 0.134 H 102.4°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B0A22B
RGBrgb(176, 162, 43)
HSLhsl(54, 61%, 43%)
HSVhsv(54, 76%, 69%)
CMYKcmyk(0%, 8%, 75.6%, 31%)
CIE-LABlab(65.94, -8.05, 59.51)
CIE-LCHlch(65.94, 60.05, 97.70°)
OKLaboklab(70.36% -0.0286 0.1306)
OKLCHoklch(70.36% 0.134 102.4)
XYZxyz(31.2623, 35.2466, 7.4416)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A22B #2B39B0
analogous
#B05F2B #B0A22B #7CB02B
triadic
#B0A22B #2BB0A2 #A22BB0
tetradic
#B0A22B #2BB05F #2B39B0 #B02B7C
square
#B0A22B #2BB05F #2B39B0 #B02B7C
split-complementary
#B0A22B #2B7CB0 #5F2BB0
monochromatic
#4E4713 #7F751F #B0A22B #D2C346 #DED378

Accessibility & contrast

On white

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

On black

8.05
#B0A22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A22B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A22B#FFFFFF#000000##000000
##B0A22B1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D13
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#BE968B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b0a22b;
/* rgb */ color: rgb(176, 162, 43);
/* oklch */ color: oklch(70.4% 0.134 102.4);
Tailwind
colors: {
  custom: {
    50: '#cbbd6e',
    500: '#b0a22b',
    950: '#000000',
  },
}
SCSS
$custom: #b0a22b;
$custom-light: #cbbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a22b",
  "rgb": {
    "r": 176,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 53.684,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70364,
    "c": 0.13367,
    "h": 102.4
  },
  "luminance": 0.35245
}

Semantic roles & 50–950 ramp

primary
#B0A22B
secondary
#717AC6
accent
#55E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B0A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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