#B1A82B#B1A82B

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

Color values

HEX#B1A82B
RGBrgb(177, 168, 43)
HSLhsl(56, 61%, 43%)
HSVhsv(56, 76%, 69%)
CMYKcmyk(0%, 5.1%, 75.7%, 30.6%)
CIE-LABlab(67.67, -10.76, 61.15)
CIE-LCHlch(67.67, 62.09, 99.98°)
OKLaboklab(71.76% -0.0363 0.134)
OKLCHoklch(71.76% 0.139 105.1)
XYZxyz(32.5715, 37.5281, 7.8130)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A82B #2B34B1
analogous
#B1652B #B1A82B #77B12B
triadic
#B1A82B #2BB1A8 #A82BB1
tetradic
#B1A82B #2BB165 #2B34B1 #B12B77
square
#B1A82B #2BB165 #2B34B1 #B12B77
split-complementary
#B1A82B #2B77B1 #652BB1
monochromatic
#4F4B13 #80791F #B1A82B #D2C947 #DED778

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A82B#FFFFFF#000000##000000
##B1A82B1.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)
#B7A20F
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#BE9C90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a82b;
/* rgb */ color: rgb(177, 168, 43);
/* oklch */ color: oklch(71.8% 0.139 105.1);
Tailwind
colors: {
  custom: {
    50: '#ccc16e',
    500: '#b1a82b',
    950: '#000000',
  },
}
SCSS
$custom: #b1a82b;
$custom-light: #ccc16e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a82b",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 55.97,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71762,
    "c": 0.13885,
    "h": 105.1
  },
  "luminance": 0.37527
}

Semantic roles & 50–950 ramp

primary
#B1A82B
secondary
#7277C6
accent
#4FE444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A82B

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

Preview Lab → · Contrast checker → · Palette generator →

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