#B2B02C#B2B02C

#B2B02C 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#B2B02C
RGBrgb(178, 176, 44)
HSLhsl(59, 60%, 44%)
HSVhsv(59, 75%, 70%)
CMYKcmyk(0%, 1.1%, 75.3%, 30.2%)
CIE-LABlab(69.96, -14.42, 62.98)
CIE-LCHlch(69.96, 64.60, 102.89°)
OKLaboklab(73.61% -0.0465 0.1381)
OKLCHoklch(73.61% 0.146 108.6)
XYZxyz(34.3414, 40.6986, 8.4290)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B02C #2C2EB2
analogous
#B26D2C #B2B02C #71B22C
triadic
#B2B02C #2CB2B0 #B02CB2
tetradic
#B2B02C #2CB26D #2C2EB2 #B22C71
square
#B2B02C #2CB26D #2C2EB2 #B22C71
split-complementary
#B2B02C #2C71B2 #6D2CB2
monochromatic
#504F14 #817F20 #B2B02C #D2D049 #DEDD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B02C#FFFFFF#000000##000000
##B2B02C1.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)
#BFA90D
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#BFA497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b02c;
/* rgb */ color: rgb(178, 176, 44);
/* oklch */ color: oklch(73.6% 0.146 108.6);
Tailwind
colors: {
  custom: {
    50: '#cdc770',
    500: '#b2b02c',
    950: '#000000',
  },
}
SCSS
$custom: #b2b02c;
$custom-light: #cdc770;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b02c",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 44
  },
  "hsl": {
    "h": 59.104,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73613,
    "c": 0.14567,
    "h": 108.6
  },
  "luminance": 0.40697
}

Semantic roles & 50–950 ramp

primary
#B2B02C
secondary
#7375C6
accent
#47E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B02C

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

Preview Lab → · Contrast checker → · Palette generator →

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