#B0B321#B0B321

#B0B321 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.1% C 0.154 H 110.9°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#B0B321
RGBrgb(176, 179, 33)
HSLhsl(61, 69%, 42%)
HSVhsv(61, 82%, 70%)
CMYKcmyk(1.7%, 0%, 81.6%, 29.8%)
CIE-LABlab(70.58, -17.22, 66.72)
CIE-LCHlch(70.58, 68.91, 104.47°)
OKLaboklab(74.05% -0.055 0.1442)
OKLCHoklch(74.05% 0.154 110.9)
XYZxyz(34.3004, 41.5811, 7.6577)
Luminance0.4158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B321 #2421B3
analogous
#B36D21 #B0B321 #67B321
triadic
#B0B321 #21B0B3 #B321B0
tetradic
#B0B321 #21B36D #2421B3 #B32167
square
#B0B321 #21B36D #2421B3 #B32167
split-complementary
#B0B321 #2167B3 #6D21B3
monochromatic
#4A4C0E #7D7F17 #B0B321 #D7DA37 #E1E46B

Accessibility & contrast

On white

2.25
#B0B321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#B0B321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B321
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B321#FFFFFF#000000##000000
##B0B3211.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0b321;
/* rgb */ color: rgb(176, 179, 33);
/* oklch */ color: oklch(74.1% 0.154 110.9);
Tailwind
colors: {
  custom: {
    50: '#ccc96c',
    500: '#b0b321',
    950: '#000000',
  },
}
SCSS
$custom: #b0b321;
$custom-light: #ccc96c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b321",
  "rgb": {
    "r": 176,
    "g": 179,
    "b": 33
  },
  "hsl": {
    "h": 61.233,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.7405,
    "c": 0.1543,
    "h": 110.9
  },
  "luminance": 0.4158
}

Semantic roles & 50–950 ramp

primary
#B0B321
secondary
#6866CA
accent
#3CEC40
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B0B321

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

Preview Lab → · Contrast checker → · Palette generator →

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