#B3B41F#B3B41F

#B3B41F is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.5% C 0.155 H 110.1°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#B3B41F
RGBrgb(179, 180, 31)
HSLhsl(60, 71%, 41%)
HSVhsv(60, 83%, 71%)
CMYKcmyk(0.6%, 0%, 82.8%, 29.4%)
CIE-LABlab(71.10, -16.48, 67.77)
CIE-LCHlch(71.10, 69.74, 103.67°)
OKLaboklab(74.52% -0.0533 0.1459)
OKLCHoklch(74.52% 0.155 110.1)
XYZxyz(35.1604, 42.3262, 7.6137)
Luminance0.4233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B41F #201FB4
analogous
#B46B1F #B3B41F #69B41F
triadic
#B3B41F #1FB3B4 #B41FB3
tetradic
#B3B41F #1FB46B #201FB4 #B41F69
square
#B3B41F #1FB46B #201FB4 #B41F69
split-complementary
#B3B41F #1F69B4 #6B1FB4
monochromatic
#4B4C0D #7F8016 #B3B41F #DBDC34 #E4E568

Accessibility & contrast

On white

2.22
#B3B41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#B3B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B41F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B41F#FFFFFF#000000##000000
##B3B41F1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C5B02E
Tritanopia (blue-blind)
#C0A89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b3b41f;
/* rgb */ color: rgb(179, 180, 31);
/* oklch */ color: oklch(74.5% 0.155 110.1);
Tailwind
colors: {
  custom: {
    50: '#ceca6b',
    500: '#b3b41f',
    950: '#000000',
  },
}
SCSS
$custom: #b3b41f;
$custom-light: #ceca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b41f",
  "rgb": {
    "r": 179,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 60.403,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.74518,
    "c": 0.15536,
    "h": 110.1
  },
  "luminance": 0.42325
}

Semantic roles & 50–950 ramp

primary
#B3B41F
secondary
#6564CB
accent
#3AED3C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B3B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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