#B2B02E#B2B02E

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

Color values

HEX#B2B02E
RGBrgb(178, 176, 46)
HSLhsl(59, 59%, 44%)
HSVhsv(59, 74%, 70%)
CMYKcmyk(0%, 1.1%, 74.2%, 30.2%)
CIE-LABlab(69.98, -14.33, 62.32)
CIE-LCHlch(69.98, 63.94, 102.95°)
OKLaboklab(73.63% -0.0461 0.137)
OKLCHoklch(73.63% 0.145 108.6)
XYZxyz(34.3799, 40.7140, 8.6318)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B02E #2E30B2
analogous
#B26E2E #B2B02E #72B22E
triadic
#B2B02E #2EB2B0 #B02EB2
tetradic
#B2B02E #2EB26E #2E30B2 #B22E72
square
#B2B02E #2EB26E #2E30B2 #B22E72
split-complementary
#B2B02E #2E72B2 #6E2EB2
monochromatic
#515015 #818021 #B2B02E #D1CF4C #DDDC7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B02E#FFFFFF#000000##000000
##B2B02E1.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)
#BFA912
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#BFA497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b02e;
/* rgb */ color: rgb(178, 176, 46);
/* oklch */ color: oklch(73.6% 0.145 108.6);
Tailwind
colors: {
  custom: {
    50: '#cdc771',
    500: '#b2b02e',
    950: '#000000',
  },
}
SCSS
$custom: #b2b02e;
$custom-light: #cdc771;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b02e",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 46
  },
  "hsl": {
    "h": 59.091,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73625,
    "c": 0.14456,
    "h": 108.6
  },
  "luminance": 0.40713
}

Semantic roles & 50–950 ramp

primary
#B2B02E
secondary
#7677C6
accent
#48E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B02E

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

Preview Lab → · Contrast checker → · Palette generator →

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