#B3B01F#B3B01F

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

Color values

HEX#B3B01F
RGBrgb(179, 176, 31)
HSLhsl(59, 70%, 41%)
HSVhsv(59, 83%, 70%)
CMYKcmyk(0%, 1.7%, 82.7%, 29.8%)
CIE-LABlab(69.99, -14.44, 66.83)
CIE-LCHlch(69.99, 68.37, 102.20°)
OKLaboklab(73.63% -0.0476 0.1439)
OKLCHoklch(73.63% 0.152 108.3)
XYZxyz(34.3645, 40.7345, 7.3484)
Luminance0.4073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B01F #1F22B3
analogous
#B3661F #B3B01F #6CB31F
triadic
#B3B01F #1FB3B0 #B01FB3
tetradic
#B3B01F #1FB366 #1F22B3 #B31F6C
square
#B3B01F #1FB366 #1F22B3 #B31F6C
split-complementary
#B3B01F #1F6CB3 #661FB3
monochromatic
#4B490D #7F7D16 #B3B01F #DCD833 #E5E268

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3B01F#FFFFFF#000000##000000
##B3B01F1.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)
#C1AD2D
Tritanopia (blue-blind)
#C1A496
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3b01f;
/* rgb */ color: rgb(179, 176, 31);
/* oklch */ color: oklch(73.6% 0.152 108.3);
Tailwind
colors: {
  custom: {
    50: '#cec76a',
    500: '#b3b01f',
    950: '#000000',
  },
}
SCSS
$custom: #b3b01f;
$custom-light: #cec76a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b01f",
  "rgb": {
    "r": 179,
    "g": 176,
    "b": 31
  },
  "hsl": {
    "h": 58.784,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.73635,
    "c": 0.15157,
    "h": 108.3
  },
  "luminance": 0.40733
}

Semantic roles & 50–950 ramp

primary
#B3B01F
secondary
#6466CA
accent
#3EED3B
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B3B01F

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

Preview Lab → · Contrast checker → · Palette generator →

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