#B0B02A#B0B02A

#B0B02A is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.4% C 0.147 H 109.5°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#B0B02A
RGBrgb(176, 176, 42)
HSLhsl(60, 61%, 43%)
HSVhsv(60, 76%, 69%)
CMYKcmyk(0%, 0%, 76.1%, 31%)
CIE-LABlab(69.79, -15.37, 63.40)
CIE-LCHlch(69.79, 65.24, 103.62°)
OKLaboklab(73.43% -0.0492 0.1387)
OKLCHoklch(73.43% 0.147 109.5)
XYZxyz(33.8490, 40.4490, 8.2144)
Luminance0.4045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B02A #2A2AB0
analogous
#B06D2A #B0B02A #6DB02A
triadic
#B0B02A #2AB0B0 #B02AB0
tetradic
#B0B02A #2AB06D #2A2AB0 #B02A6D
square
#B0B02A #2AB06D #2A2AB0 #B02A6D
split-complementary
#B0B02A #2A6DB0 #6D2AB0
monochromatic
#4D4D12 #7F7F1E #B0B02A #D3D345 #DEDE76

Accessibility & contrast

On white

2.31
#B0B02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#B0B02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B02A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B02A#FFFFFF#000000##000000
##B0B02A1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA806
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#BDA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b0b02a;
/* rgb */ color: rgb(176, 176, 42);
/* oklch */ color: oklch(73.4% 0.147 109.5);
Tailwind
colors: {
  custom: {
    50: '#cbc76f',
    500: '#b0b02a',
    950: '#000000',
  },
}
SCSS
$custom: #b0b02a;
$custom-light: #cbc76f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b02a",
  "rgb": {
    "r": 176,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 60,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.73428,
    "c": 0.14714,
    "h": 109.5
  },
  "luminance": 0.40448
}

Semantic roles & 50–950 ramp

primary
#B0B02A
secondary
#7070C6
accent
#43E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B02A

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

Preview Lab → · Contrast checker → · Palette generator →

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