#B2B02B#B2B02B

#B2B02B is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.6% C 0.146 H 108.6°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#B2B02B
RGBrgb(178, 176, 43)
HSLhsl(59, 61%, 43%)
HSVhsv(59, 76%, 70%)
CMYKcmyk(0%, 1.1%, 75.8%, 30.2%)
CIE-LABlab(69.96, -14.46, 63.30)
CIE-LCHlch(69.96, 64.93, 102.87°)
OKLaboklab(73.61% -0.0467 0.1386)
OKLCHoklch(73.61% 0.146 108.6)
XYZxyz(34.3228, 40.6912, 8.3312)
Luminance0.4069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B02B #2B2DB2
analogous
#B26C2B #B2B02B #70B22B
triadic
#B2B02B #2BB2B0 #B02BB2
tetradic
#B2B02B #2BB26C #2B2DB2 #B22B70
square
#B2B02B #2BB26C #2B2DB2 #B22B70
split-complementary
#B2B02B #2B70B2 #6C2BB2
monochromatic
#4F4F13 #817F1F #B2B02B #D3D148 #DFDD79

Accessibility & contrast

On white

2.30
#B2B02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#B2B02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B02B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B02B#FFFFFF#000000##000000
##B2B02B1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA909
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#BFA497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b02b;
/* rgb */ color: rgb(178, 176, 43);
/* oklch */ color: oklch(73.6% 0.146 108.6);
Tailwind
colors: {
  custom: {
    50: '#cdc76f',
    500: '#b2b02b',
    950: '#000000',
  },
}
SCSS
$custom: #b2b02b;
$custom-light: #cdc76f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b02b",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 59.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73607,
    "c": 0.14621,
    "h": 108.6
  },
  "luminance": 0.4069
}

Semantic roles & 50–950 ramp

primary
#B2B02B
secondary
#7273C7
accent
#46E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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