#B3A41C#B3A41C

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

Color values

HEX#B3A41C
RGBrgb(179, 164, 28)
HSLhsl(54, 73%, 41%)
HSVhsv(54, 84%, 70%)
CMYKcmyk(0%, 8.4%, 84.4%, 29.8%)
CIE-LABlab(66.69, -8.30, 64.80)
CIE-LCHlch(66.69, 65.33, 97.30°)
OKLaboklab(71% -0.0307 0.1389)
OKLCHoklch(71% 0.142 102.5)
XYZxyz(32.0770, 36.2199, 6.3999)
Luminance0.3622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A41C #1C2BB3
analogous
#B3591C #B3A41C #76B31C
triadic
#B3A41C #1CB3A4 #A41CB3
tetradic
#B3A41C #1CB359 #1C2BB3 #B31C76
square
#B3A41C #1CB359 #1C2BB3 #B31C76
split-complementary
#B3A41C #1C76B3 #591CB3
monochromatic
#49430B #7E7414 #B3A41C #DECD2E #E7D963

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A41C#FFFFFF#000000##000000
##B3A41C1.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)
#B9A529
Tritanopia (blue-blind)
#C1988C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a41c;
/* rgb */ color: rgb(179, 164, 28);
/* oklch */ color: oklch(71.0% 0.142 102.5);
Tailwind
colors: {
  custom: {
    50: '#cebe68',
    500: '#b3a41c',
    950: '#000000',
  },
}
SCSS
$custom: #b3a41c;
$custom-light: #cebe68;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a41c",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 28
  },
  "hsl": {
    "h": 54.04,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71,
    "c": 0.14227,
    "h": 102.5
  },
  "luminance": 0.36218
}

Semantic roles & 50–950 ramp

primary
#B3A41C
secondary
#5F6ACB
accent
#4AF038
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141207
muted
#83817A

Preview Lab

Preview with #B3A41C

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

Preview Lab → · Contrast checker → · Palette generator →

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