#B1A82C#B1A82C

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

Color values

HEX#B1A82C
RGBrgb(177, 168, 44)
HSLhsl(56, 60%, 43%)
HSVhsv(56, 75%, 69%)
CMYKcmyk(0%, 5.1%, 75.1%, 30.6%)
CIE-LABlab(67.68, -10.72, 60.82)
CIE-LCHlch(67.68, 61.75, 99.99°)
OKLaboklab(71.77% -0.0361 0.1335)
OKLCHoklch(71.77% 0.138 105.1)
XYZxyz(32.5901, 37.5355, 7.9108)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A82C #2C35B1
analogous
#B1652C #B1A82C #77B12C
triadic
#B1A82C #2CB1A8 #A82CB1
tetradic
#B1A82C #2CB165 #2C35B1 #B12C77
square
#B1A82C #2CB165 #2C35B1 #B12C77
split-complementary
#B1A82C #2C77B1 #652CB1
monochromatic
#4F4B14 #807920 #B1A82C #D2C849 #DED77A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b1a82c;
/* rgb */ color: rgb(177, 168, 44);
/* oklch */ color: oklch(71.8% 0.138 105.1);
Tailwind
colors: {
  custom: {
    50: '#ccc16f',
    500: '#b1a82c',
    950: '#000000',
  },
}
SCSS
$custom: #b1a82c;
$custom-light: #ccc16f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a82c",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 55.94,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71768,
    "c": 0.1383,
    "h": 105.1
  },
  "luminance": 0.37534
}

Semantic roles & 50–950 ramp

primary
#B1A82C
secondary
#7378C6
accent
#4FE344
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A82C

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

Preview Lab → · Contrast checker → · Palette generator →

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