#B3A41B#B3A41B

#B3A41B is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.0% C 0.143 H 102.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#B3A41B
RGBrgb(179, 164, 27)
HSLhsl(54, 74%, 40%)
HSVhsv(54, 85%, 70%)
CMYKcmyk(0%, 8.4%, 84.9%, 29.8%)
CIE-LABlab(66.68, -8.32, 65.05)
CIE-LCHlch(66.68, 65.58, 97.29°)
OKLaboklab(71% -0.0309 0.1393)
OKLCHoklch(71% 0.143 102.5)
XYZxyz(32.0653, 36.2152, 6.3379)
Luminance0.3621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A41B #1B2AB3
analogous
#B3581B #B3A41B #76B31B
triadic
#B3A41B #1BB3A4 #A41BB3
tetradic
#B3A41B #1BB358 #1B2AB3 #B31B76
square
#B3A41B #1BB358 #1B2AB3 #B31B76
split-complementary
#B3A41B #1B76B3 #581BB3
monochromatic
#49430B #7E7313 #B3A41B #DFCD2C #E7DA61

Accessibility & contrast

On white

2.55
#B3A41B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#B3A41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A41B
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A41B#FFFFFF#000000##000000
##B3A41B1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B9A528
Tritanopia (blue-blind)
#C1988C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a41b;
/* rgb */ color: rgb(179, 164, 27);
/* oklch */ color: oklch(71.0% 0.143 102.5);
Tailwind
colors: {
  custom: {
    50: '#cebe67',
    500: '#b3a41b',
    950: '#000000',
  },
}
SCSS
$custom: #b3a41b;
$custom-light: #cebe67;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a41b",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 27
  },
  "hsl": {
    "h": 54.079,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70996,
    "c": 0.14265,
    "h": 102.5
  },
  "luminance": 0.36214
}

Semantic roles & 50–950 ramp

primary
#B3A41B
secondary
#5E69CC
accent
#4AF037
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141207
muted
#83817A

Preview Lab

Preview with #B3A41B

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

Preview Lab → · Contrast checker → · Palette generator →

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