#B3B220#B3B220

#B3B220 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.1% C 0.153 H 109.2°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B3B220
RGBrgb(179, 178, 32)
HSLhsl(60, 70%, 41%)
HSVhsv(60, 82%, 70%)
CMYKcmyk(0%, 0.6%, 82.1%, 29.8%)
CIE-LABlab(70.55, -15.44, 67.05)
CIE-LCHlch(70.55, 68.80, 102.96°)
OKLaboklab(74.08% -0.0503 0.1445)
OKLCHoklch(74.08% 0.153 109.2)
XYZxyz(34.7729, 41.5299, 7.5506)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B220 #2021B3
analogous
#B36920 #B3B220 #6BB320
triadic
#B3B220 #20B3B2 #B220B3
tetradic
#B3B220 #20B369 #2021B3 #B3206B
square
#B3B220 #20B369 #2021B3 #B3206B
split-complementary
#B3B220 #206BB3 #6920B3
monochromatic
#4B4B0D #7F7E17 #B3B220 #DBDA35 #E4E369

Accessibility & contrast

On white

2.26
#B3B220 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#B3B220 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B220
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B220#FFFFFF#000000##000000
##B3B2201.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C3AF2E
Tritanopia (blue-blind)
#C0A698
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b3b220;
/* rgb */ color: rgb(179, 178, 32);
/* oklch */ color: oklch(74.1% 0.153 109.2);
Tailwind
colors: {
  custom: {
    50: '#cec86b',
    500: '#b3b220',
    950: '#000000',
  },
}
SCSS
$custom: #b3b220;
$custom-light: #cec86b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b220",
  "rgb": {
    "r": 179,
    "g": 178,
    "b": 32
  },
  "hsl": {
    "h": 59.592,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.7408,
    "c": 0.15305,
    "h": 109.2
  },
  "luminance": 0.41529
}

Semantic roles & 50–950 ramp

primary
#B3B220
secondary
#6566CA
accent
#3DEC3B
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B3B220

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

Preview Lab → · Contrast checker → · Palette generator →

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