#B3A72A#B3A72A

#B3A72A is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.7% C 0.138 H 103.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B3A72A
RGBrgb(179, 167, 42)
HSLhsl(55, 62%, 43%)
HSVhsv(55, 77%, 70%)
CMYKcmyk(0%, 6.7%, 76.5%, 29.8%)
CIE-LABlab(67.57, -9.40, 61.46)
CIE-LCHlch(67.57, 62.17, 98.69°)
OKLaboklab(71.72% -0.0326 0.1344)
OKLCHoklch(71.72% 0.138 103.7)
XYZxyz(32.8285, 37.3897, 7.6777)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A72A #2A36B3
analogous
#B3632A #B3A72A #7AB32A
triadic
#B3A72A #2AB3A7 #A72AB3
tetradic
#B3A72A #2AB363 #2A36B3 #B32A7A
square
#B3A72A #2AB363 #2A36B3 #B32A7A
split-complementary
#B3A72A #2A7AB3 #632AB3
monochromatic
#504B13 #81791E #B3A72A #D4C746 #DFD678

Accessibility & contrast

On white

2.48
#B3A72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B3A72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A72A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A72A#FFFFFF#000000##000000
##B3A72A1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A10D
Deuteranopia (green-blind)
#BAA733
Tritanopia (blue-blind)
#C19B8F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b3a72a;
/* rgb */ color: rgb(179, 167, 42);
/* oklch */ color: oklch(71.7% 0.138 103.7);
Tailwind
colors: {
  custom: {
    50: '#cec06e',
    500: '#b3a72a',
    950: '#000000',
  },
}
SCSS
$custom: #b3a72a;
$custom-light: #cec06e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a72a",
  "rgb": {
    "r": 179,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 54.745,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71721,
    "c": 0.13832,
    "h": 103.7
  },
  "luminance": 0.37388
}

Semantic roles & 50–950 ramp

primary
#B3A72A
secondary
#7279C7
accent
#51E543
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A72A

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

Preview Lab → · Contrast checker → · Palette generator →

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