#B3B020#B3B020

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

Color values

HEX#B3B020
RGBrgb(179, 176, 32)
HSLhsl(59, 70%, 41%)
HSVhsv(59, 82%, 70%)
CMYKcmyk(0%, 1.7%, 82.1%, 29.8%)
CIE-LABlab(69.99, -14.41, 66.58)
CIE-LCHlch(69.99, 68.12, 102.22°)
OKLaboklab(73.64% -0.0475 0.1435)
OKLCHoklch(73.64% 0.151 108.3)
XYZxyz(34.3779, 40.7398, 7.4189)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B020 #2023B3
analogous
#B36720 #B3B020 #6CB320
triadic
#B3B020 #20B3B0 #B020B3
tetradic
#B3B020 #20B367 #2023B3 #B3206C
square
#B3B020 #20B367 #2023B3 #B3206C
split-complementary
#B3B020 #206CB3 #6720B3
monochromatic
#4B4A0D #7F7D17 #B3B020 #DBD835 #E4E269

Accessibility & contrast

On white

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

On black

9.15
#B3B020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B020
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B020#FFFFFF#000000##000000
##B3B0201.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#C1AD2E
Tritanopia (blue-blind)
#C0A496
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3b020;
/* rgb */ color: rgb(179, 176, 32);
/* oklch */ color: oklch(73.6% 0.151 108.3);
Tailwind
colors: {
  custom: {
    50: '#cec76b',
    500: '#b3b020',
    950: '#000000',
  },
}
SCSS
$custom: #b3b020;
$custom-light: #cec76b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b020",
  "rgb": {
    "r": 179,
    "g": 176,
    "b": 32
  },
  "hsl": {
    "h": 58.776,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.73639,
    "c": 0.15117,
    "h": 108.3
  },
  "luminance": 0.40739
}

Semantic roles & 50–950 ramp

primary
#B3B020
secondary
#6567CA
accent
#3FEC3B
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B3B020

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

Preview Lab → · Contrast checker → · Palette generator →

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