#B2B02F#B2B02F

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

Color values

HEX#B2B02F
RGBrgb(178, 176, 47)
HSLhsl(59, 58%, 44%)
HSVhsv(59, 74%, 70%)
CMYKcmyk(0%, 1.1%, 73.6%, 30.2%)
CIE-LABlab(69.98, -14.28, 61.98)
CIE-LCHlch(69.98, 63.60, 102.98°)
OKLaboklab(73.63% -0.0458 0.1365)
OKLCHoklch(73.63% 0.144 108.6)
XYZxyz(34.3998, 40.7220, 8.7368)
Luminance0.4072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B02F #2F31B2
analogous
#B26F2F #B2B02F #73B22F
triadic
#B2B02F #2FB2B0 #B02FB2
tetradic
#B2B02F #2FB26F #2F31B2 #B22F73
square
#B2B02F #2FB26F #2F31B2 #B22F73
split-complementary
#B2B02F #2F73B2 #6F2FB2
monochromatic
#515015 #828022 #B2B02F #D0CE4E #DDDC7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B02F#FFFFFF#000000##000000
##B2B02F1.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)
#BFA915
Deuteranopia (green-blind)
#C1AD39
Tritanopia (blue-blind)
#BFA497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b02f;
/* rgb */ color: rgb(178, 176, 47);
/* oklch */ color: oklch(73.6% 0.144 108.6);
Tailwind
colors: {
  custom: {
    50: '#cdc771',
    500: '#b2b02f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b02f;
$custom-light: #cdc771;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b02f",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 59.084,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73631,
    "c": 0.14399,
    "h": 108.6
  },
  "luminance": 0.40721
}

Semantic roles & 50–950 ramp

primary
#B2B02F
secondary
#7778C6
accent
#49E146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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