#B0C02B#B0C02B

#B0C02B is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.0% C 0.163 H 115.9°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#B0C02B
RGBrgb(176, 192, 43)
HSLhsl(66, 63%, 46%)
HSVhsv(66, 78%, 75%)
CMYKcmyk(8.3%, 0%, 77.6%, 24.7%)
CIE-LABlab(74.26, -23.33, 67.17)
CIE-LCHlch(74.26, 71.10, 109.15°)
OKLaboklab(77.01% -0.0712 0.1469)
OKLCHoklch(77.01% 0.163 115.9)
XYZxyz(37.1912, 47.1044, 9.4179)
Luminance0.4710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C02B #3B2BC0
analogous
#C0852B #B0C02B #65C02B
triadic
#B0C02B #2BB0C0 #C02BB0
tetradic
#B0C02B #2BC085 #3B2BC0 #C02B65
square
#B0C02B #2BC085 #3B2BC0 #C02B65
split-complementary
#B0C02B #2B65C0 #852BC0
monochromatic
#545C15 #828E20 #B0C02B #C9D850 #D9E382

Accessibility & contrast

On white

2.02
#B0C02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#B0C02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C02B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C02B#FFFFFF#000000##000000
##B0C02B1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CDB839
Tritanopia (blue-blind)
#BCB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b0c02b;
/* rgb */ color: rgb(176, 192, 43);
/* oklch */ color: oklch(77.0% 0.163 115.9);
Tailwind
colors: {
  custom: {
    50: '#cbd271',
    500: '#b0c02b',
    950: '#000000',
  },
}
SCSS
$custom: #b0c02b;
$custom-light: #cbd271;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c02b",
  "rgb": {
    "r": 176,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 66.443,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7701,
    "c": 0.16321,
    "h": 115.9
  },
  "luminance": 0.47104
}

Semantic roles & 50–950 ramp

primary
#B0C02B
secondary
#837BCC
accent
#41E653
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B0C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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