#B1A82A#B1A82A

#B1A82A is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.139 H 105.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B1A82A
RGBrgb(177, 168, 42)
HSLhsl(56, 62%, 43%)
HSVhsv(56, 76%, 69%)
CMYKcmyk(0%, 5.1%, 76.3%, 30.6%)
CIE-LABlab(67.67, -10.80, 61.48)
CIE-LCHlch(67.67, 62.42, 99.96°)
OKLaboklab(71.76% -0.0365 0.1346)
OKLCHoklch(71.76% 0.139 105.2)
XYZxyz(32.5534, 37.5208, 7.7175)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A82A #2A33B1
analogous
#B1642A #B1A82A #76B12A
triadic
#B1A82A #2AB1A8 #A82AB1
tetradic
#B1A82A #2AB164 #2A33B1 #B12A76
square
#B1A82A #2AB164 #2A33B1 #B12A76
split-complementary
#B1A82A #2A76B1 #642AB1
monochromatic
#4E4A13 #80791E #B1A82A #D3C945 #DFD877

Accessibility & contrast

On white

2.47
#B1A82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B1A82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A82A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A82A#FFFFFF#000000##000000
##B1A82A1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20C
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#BE9C90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a82a;
/* rgb */ color: rgb(177, 168, 42);
/* oklch */ color: oklch(71.8% 0.139 105.2);
Tailwind
colors: {
  custom: {
    50: '#ccc16e',
    500: '#b1a82a',
    950: '#000000',
  },
}
SCSS
$custom: #b1a82a;
$custom-light: #ccc16e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a82a",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 56,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71756,
    "c": 0.13941,
    "h": 105.2
  },
  "luminance": 0.3752
}

Semantic roles & 50–950 ramp

primary
#B1A82A
secondary
#7076C6
accent
#4EE543
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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