#B3B120#B3B120

#B3B120 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.152 H 108.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#B3B120
RGBrgb(179, 177, 32)
HSLhsl(59, 70%, 41%)
HSVhsv(59, 82%, 70%)
CMYKcmyk(0%, 1.1%, 82.1%, 29.8%)
CIE-LABlab(70.27, -14.93, 66.81)
CIE-LCHlch(70.27, 68.46, 102.59°)
OKLaboklab(73.86% -0.0489 0.144)
OKLCHoklch(73.86% 0.152 108.8)
XYZxyz(34.5747, 41.1334, 7.4845)
Luminance0.4113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B120 #2022B3
analogous
#B36820 #B3B120 #6CB320
triadic
#B3B120 #20B3B1 #B120B3
tetradic
#B3B120 #20B368 #2022B3 #B3206C
square
#B3B120 #20B368 #2022B3 #B3206C
split-complementary
#B3B120 #206CB3 #6820B3
monochromatic
#4B4A0D #7F7E17 #B3B120 #DBD935 #E4E369

Accessibility & contrast

On white

2.28
#B3B120 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#B3B120 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B120
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B120#FFFFFF#000000##000000
##B3B1201.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C2AE2E
Tritanopia (blue-blind)
#C0A597
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b3b120;
/* rgb */ color: rgb(179, 177, 32);
/* oklch */ color: oklch(73.9% 0.152 108.8);
Tailwind
colors: {
  custom: {
    50: '#cec86b',
    500: '#b3b120',
    950: '#000000',
  },
}
SCSS
$custom: #b3b120;
$custom-light: #cec86b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b120",
  "rgb": {
    "r": 179,
    "g": 177,
    "b": 32
  },
  "hsl": {
    "h": 59.184,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.73859,
    "c": 0.1521,
    "h": 108.8
  },
  "luminance": 0.41132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3B120

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

Preview Lab → · Contrast checker → · Palette generator →

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