#B2B320#B2B320

#B2B320 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.2% C 0.154 H 110.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#B2B320
RGBrgb(178, 179, 32)
HSLhsl(60, 70%, 41%)
HSVhsv(60, 82%, 70%)
CMYKcmyk(0.6%, 0%, 82.1%, 29.8%)
CIE-LABlab(70.74, -16.38, 67.18)
CIE-LCHlch(70.74, 69.15, 103.70°)
OKLaboklab(74.22% -0.0529 0.1449)
OKLCHoklch(74.22% 0.154 110.1)
XYZxyz(34.7423, 41.8105, 7.6064)
Luminance0.4181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B320 #2120B3
analogous
#B36B20 #B2B320 #69B320
triadic
#B2B320 #20B2B3 #B320B2
tetradic
#B2B320 #20B36B #2120B3 #B32069
square
#B2B320 #20B36B #2120B3 #B32069
split-complementary
#B2B320 #2069B3 #6B20B3
monochromatic
#4B4B0D #7E7F17 #B2B320 #DADB35 #E3E469

Accessibility & contrast

On white

2.24
#B2B320 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#B2B320 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B320
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B320#FFFFFF#000000##000000
##B2B3201.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C3AF2F
Tritanopia (blue-blind)
#BFA799
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b320;
/* rgb */ color: rgb(178, 179, 32);
/* oklch */ color: oklch(74.2% 0.154 110.1);
Tailwind
colors: {
  custom: {
    50: '#cdc96b',
    500: '#b2b320',
    950: '#000000',
  },
}
SCSS
$custom: #b2b320;
$custom-light: #cdc96b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b320",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 32
  },
  "hsl": {
    "h": 60.408,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.74215,
    "c": 0.15423,
    "h": 110.1
  },
  "luminance": 0.41809
}

Semantic roles & 50–950 ramp

primary
#B2B320
secondary
#6665CA
accent
#3BEC3D
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B2B320

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

Preview Lab → · Contrast checker → · Palette generator →

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