#B3B21E#B3B21E

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

Color values

HEX#B3B21E
RGBrgb(179, 178, 30)
HSLhsl(60, 71%, 41%)
HSVhsv(60, 83%, 70%)
CMYKcmyk(0%, 0.6%, 83.2%, 29.8%)
CIE-LABlab(70.54, -15.49, 67.54)
CIE-LCHlch(70.54, 69.30, 102.92°)
OKLaboklab(74.07% -0.0506 0.1453)
OKLCHoklch(74.07% 0.154 109.2)
XYZxyz(34.7465, 41.5194, 7.4118)
Luminance0.4152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B21E #1E1FB3
analogous
#B3671E #B3B21E #69B31E
triadic
#B3B21E #1EB3B2 #B21EB3
tetradic
#B3B21E #1EB367 #1E1FB3 #B31E69
square
#B3B21E #1EB367 #1E1FB3 #B31E69
split-complementary
#B3B21E #1E69B3 #671EB3
monochromatic
#4A4A0C #7F7E15 #B3B21E #DDDB32 #E5E566

Accessibility & contrast

On white

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

On black

9.30
#B3B21E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B21E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B21E#FFFFFF#000000##000000
##B3B21E1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3b21e;
/* rgb */ color: rgb(179, 178, 30);
/* oklch */ color: oklch(74.1% 0.154 109.2);
Tailwind
colors: {
  custom: {
    50: '#cec86a',
    500: '#b3b21e',
    950: '#000000',
  },
}
SCSS
$custom: #b3b21e;
$custom-light: #cec86a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b21e",
  "rgb": {
    "r": 179,
    "g": 178,
    "b": 30
  },
  "hsl": {
    "h": 59.597,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.74072,
    "c": 0.15383,
    "h": 109.2
  },
  "luminance": 0.41518
}

Semantic roles & 50–950 ramp

primary
#B3B21E
secondary
#6263CB
accent
#3BEE3A
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B3B21E

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

Preview Lab → · Contrast checker → · Palette generator →

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