#B0B02C#B0B02C

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

Color values

HEX#B0B02C
RGBrgb(176, 176, 44)
HSLhsl(60, 60%, 43%)
HSVhsv(60, 75%, 69%)
CMYKcmyk(0%, 0%, 75%, 31%)
CIE-LABlab(69.80, -15.28, 62.76)
CIE-LCHlch(69.80, 64.60, 103.69°)
OKLaboklab(73.44% -0.0488 0.1377)
OKLCHoklch(73.44% 0.146 109.5)
XYZxyz(33.8857, 40.4637, 8.4077)
Luminance0.4046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B02C #2C2CB0
analogous
#B06E2C #B0B02C #6EB02C
triadic
#B0B02C #2CB0B0 #B02CB0
tetradic
#B0B02C #2CB06E #2C2CB0 #B02C6E
square
#B0B02C #2CB06E #2C2CB0 #B02C6E
split-complementary
#B0B02C #2C6EB0 #6E2CB0
monochromatic
#4E4E14 #7F7F20 #B0B02C #D1D148 #DDDD79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0B02C#FFFFFF#000000##000000
##B0B02C1.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)
#BEA80D
Deuteranopia (green-blind)
#C0AC37
Tritanopia (blue-blind)
#BDA597
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b0b02c;
/* rgb */ color: rgb(176, 176, 44);
/* oklch */ color: oklch(73.4% 0.146 109.5);
Tailwind
colors: {
  custom: {
    50: '#cbc770',
    500: '#b0b02c',
    950: '#000000',
  },
}
SCSS
$custom: #b0b02c;
$custom-light: #cbc770;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b02c",
  "rgb": {
    "r": 176,
    "g": 176,
    "b": 44
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.7344,
    "c": 0.14607,
    "h": 109.5
  },
  "luminance": 0.40463
}

Semantic roles & 50–950 ramp

primary
#B0B02C
secondary
#7272C6
accent
#45E345
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0B02C

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

Preview Lab → · Contrast checker → · Palette generator →

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