#B0B22B#B0B22B

#B0B22B is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.149 H 110.4°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#B0B22B
RGBrgb(176, 178, 43)
HSLhsl(61, 61%, 43%)
HSVhsv(61, 76%, 70%)
CMYKcmyk(1.1%, 0%, 75.8%, 30.2%)
CIE-LABlab(70.35, -16.34, 63.60)
CIE-LCHlch(70.35, 65.66, 104.41°)
OKLaboklab(73.88% -0.0518 0.1393)
OKLCHoklch(73.88% 0.149 110.4)
XYZxyz(34.2622, 41.2463, 8.4415)
Luminance0.4124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B22B #2D2BB2
analogous
#B2702B #B0B22B #6CB22B
triadic
#B0B22B #2BB0B2 #B22BB0
tetradic
#B0B22B #2BB270 #2D2BB2 #B22B6C
square
#B0B22B #2BB270 #2D2BB2 #B22B6C
split-complementary
#B0B22B #2B6CB2 #702BB2
monochromatic
#4F4F13 #7F811F #B0B22B #D1D348 #DDDF79

Accessibility & contrast

On white

2.27
#B0B22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#B0B22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B22B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B22B#FFFFFF#000000##000000
##B0B22B1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA08
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#BDA799
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b0b22b;
/* rgb */ color: rgb(176, 178, 43);
/* oklch */ color: oklch(73.9% 0.149 110.4);
Tailwind
colors: {
  custom: {
    50: '#cbc870',
    500: '#b0b22b',
    950: '#000000',
  },
}
SCSS
$custom: #b0b22b;
$custom-light: #cbc870;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b22b",
  "rgb": {
    "r": 176,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 60.889,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73878,
    "c": 0.14861,
    "h": 110.4
  },
  "luminance": 0.41245
}

Semantic roles & 50–950 ramp

primary
#B0B22B
secondary
#7372C7
accent
#44E446
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B22B

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

Preview Lab → · Contrast checker → · Palette generator →

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