#B3A42B#B3A42B

#B3A42B is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.1% C 0.135 H 102.0°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#B3A42B
RGBrgb(179, 164, 43)
HSLhsl(53, 61%, 44%)
HSVhsv(53, 76%, 70%)
CMYKcmyk(0%, 8.4%, 76%, 29.8%)
CIE-LABlab(66.76, -7.78, 60.37)
CIE-LCHlch(66.76, 60.86, 97.34°)
OKLaboklab(71.08% -0.028 0.1323)
OKLCHoklch(71.08% 0.135 102)
XYZxyz(32.3034, 36.3105, 7.5921)
Luminance0.3631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A42B #2B3AB3
analogous
#B3602B #B3A42B #7EB32B
triadic
#B3A42B #2BB3A4 #A42BB3
tetradic
#B3A42B #2BB360 #2B3AB3 #B32B7E
square
#B3A42B #2BB360 #2B3AB3 #B32B7E
split-complementary
#B3A42B #2B7EB3 #602BB3
monochromatic
#504A13 #82771F #B3A42B #D3C448 #DFD479

Accessibility & contrast

On white

2.54
#B3A42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#B3A42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A42B
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A42B#FFFFFF#000000##000000
##B3A42B1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F11
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#C1988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a42b;
/* rgb */ color: rgb(179, 164, 43);
/* oklch */ color: oklch(71.1% 0.135 102.0);
Tailwind
colors: {
  custom: {
    50: '#cebe6e',
    500: '#b3a42b',
    950: '#000000',
  },
}
SCSS
$custom: #b3a42b;
$custom-light: #cebe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a42b",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 53.382,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71077,
    "c": 0.13521,
    "h": 102
  },
  "luminance": 0.36309
}

Semantic roles & 50–950 ramp

primary
#B3A42B
secondary
#737CC7
accent
#55E443
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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