#B3A42A#B3A42A

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

Color values

HEX#B3A42A
RGBrgb(179, 164, 42)
HSLhsl(53, 62%, 43%)
HSVhsv(53, 77%, 70%)
CMYKcmyk(0%, 8.4%, 76.5%, 29.8%)
CIE-LABlab(66.75, -7.82, 60.70)
CIE-LCHlch(66.75, 61.20, 97.34°)
OKLaboklab(71.07% -0.0282 0.1328)
OKLCHoklch(71.07% 0.136 102)
XYZxyz(32.2853, 36.3032, 7.4967)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A42A #2A39B3
analogous
#B3602A #B3A42A #7DB32A
triadic
#B3A42A #2AB3A4 #A42AB3
tetradic
#B3A42A #2AB360 #2A39B3 #B32A7D
square
#B3A42A #2AB360 #2A39B3 #B32A7D
split-complementary
#B3A42A #2A7DB3 #602AB3
monochromatic
#504913 #81771E #B3A42A #D4C446 #DFD478

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A42A#FFFFFF#000000##000000
##B3A42A1.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)
#B49F0F
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#C1988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a42a;
/* rgb */ color: rgb(179, 164, 42);
/* oklch */ color: oklch(71.1% 0.136 102.0);
Tailwind
colors: {
  custom: {
    50: '#cebe6e',
    500: '#b3a42a',
    950: '#000000',
  },
}
SCSS
$custom: #b3a42a;
$custom-light: #cebe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a42a",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 53.431,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71071,
    "c": 0.13576,
    "h": 102
  },
  "luminance": 0.36302
}

Semantic roles & 50–950 ramp

primary
#B3A42A
secondary
#727BC7
accent
#55E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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