#B1A72A#B1A72A

#B1A72A is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.5% C 0.139 H 104.6°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#B1A72A
RGBrgb(177, 167, 42)
HSLhsl(56, 62%, 43%)
HSVhsv(56, 76%, 69%)
CMYKcmyk(0%, 5.6%, 76.3%, 30.6%)
CIE-LABlab(67.39, -10.28, 61.23)
CIE-LCHlch(67.39, 62.09, 99.53°)
OKLaboklab(71.54% -0.035 0.134)
OKLCHoklch(71.54% 0.139 104.6)
XYZxyz(32.3695, 37.1530, 7.6562)
Luminance0.3715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A72A #2A34B1
analogous
#B1642A #B1A72A #77B12A
triadic
#B1A72A #2AB1A7 #A72AB1
tetradic
#B1A72A #2AB164 #2A34B1 #B12A77
square
#B1A72A #2AB164 #2A34B1 #B12A77
split-complementary
#B1A72A #2A77B1 #642AB1
monochromatic
#4E4A13 #80781E #B1A72A #D3C845 #DFD777

Accessibility & contrast

On white

2.49
#B1A72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#B1A72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A72A
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A72A#FFFFFF#000000##000000
##B1A72A1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10D
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#BF9B8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b1a72a;
/* rgb */ color: rgb(177, 167, 42);
/* oklch */ color: oklch(71.5% 0.139 104.6);
Tailwind
colors: {
  custom: {
    50: '#ccc06e',
    500: '#b1a72a',
    950: '#000000',
  },
}
SCSS
$custom: #b1a72a;
$custom-light: #ccc06e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a72a",
  "rgb": {
    "r": 177,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 55.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71538,
    "c": 0.13851,
    "h": 104.6
  },
  "luminance": 0.37152
}

Semantic roles & 50–950 ramp

primary
#B1A72A
secondary
#7077C6
accent
#4FE543
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A72A

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

Preview Lab → · Contrast checker → · Palette generator →

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