#B1A82F#B1A82F

#B1A82F is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.8% C 0.137 H 105.0°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B1A82F
RGBrgb(177, 168, 47)
HSLhsl(56, 58%, 44%)
HSVhsv(56, 73%, 69%)
CMYKcmyk(0%, 5.1%, 73.4%, 30.6%)
CIE-LABlab(67.69, -10.58, 59.78)
CIE-LCHlch(67.69, 60.71, 100.04°)
OKLaboklab(71.79% -0.0354 0.1319)
OKLCHoklch(71.79% 0.137 105)
XYZxyz(32.6485, 37.5589, 8.2186)
Luminance0.3756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A82F #2F38B1
analogous
#B1672F #B1A82F #79B12F
triadic
#B1A82F #2FB1A8 #A82FB1
tetradic
#B1A82F #2FB167 #2F38B1 #B12F79
square
#B1A82F #2FB167 #2F38B1 #B12F79
split-complementary
#B1A82F #2F79B1 #672FB1
monochromatic
#504C15 #817A22 #B1A82F #D0C74D #DDD67E

Accessibility & contrast

On white

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

On black

8.51
#B1A82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A82F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A82F#FFFFFF#000000##000000
##B1A82F1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A218
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#BE9C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a82f;
/* rgb */ color: rgb(177, 168, 47);
/* oklch */ color: oklch(71.8% 0.137 105.0);
Tailwind
colors: {
  custom: {
    50: '#ccc170',
    500: '#b1a82f',
    950: '#000000',
  },
}
SCSS
$custom: #b1a82f;
$custom-light: #ccc170;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a82f",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 55.846,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71788,
    "c": 0.13654,
    "h": 105
  },
  "luminance": 0.37558
}

Semantic roles & 50–950 ramp

primary
#B1A82F
secondary
#767CC5
accent
#51E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A82F

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

Preview Lab → · Contrast checker → · Palette generator →

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