#B1A12C#B1A12C

#B1A12C is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.132 H 101.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#B1A12C
RGBrgb(177, 161, 44)
HSLhsl(53, 60%, 43%)
HSVhsv(53, 75%, 69%)
CMYKcmyk(0%, 9%, 75.1%, 30.6%)
CIE-LABlab(65.76, -7.03, 59.02)
CIE-LCHlch(65.76, 59.44, 96.80°)
OKLaboklab(70.25% -0.0257 0.1297)
OKLCHoklch(70.25% 0.132 101.2)
XYZxyz(31.3324, 35.0201, 7.4916)
Luminance0.3502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A12C #2C3CB1
analogous
#B15E2C #B1A12C #7EB12C
triadic
#B1A12C #2CB1A1 #A12CB1
tetradic
#B1A12C #2CB15E #2C3CB1 #B12C7E
square
#B1A12C #2CB15E #2C3CB1 #B12C7E
split-complementary
#B1A12C #2C7EB1 #5E2CB1
monochromatic
#4F4814 #807420 #B1A12C #D2C149 #DED27A

Accessibility & contrast

On white

2.62
#B1A12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#B1A12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A12C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A12C#FFFFFF#000000##000000
##B1A12C1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C15
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#BF958A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a12c;
/* rgb */ color: rgb(177, 161, 44);
/* oklch */ color: oklch(70.2% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#ccbc6e',
    500: '#b1a12c',
    950: '#000000',
  },
}
SCSS
$custom: #b1a12c;
$custom-light: #ccbc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a12c",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 52.782,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70247,
    "c": 0.13221,
    "h": 101.2
  },
  "luminance": 0.35019
}

Semantic roles & 50–950 ramp

primary
#B1A12C
secondary
#737DC6
accent
#58E344
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B1A12C

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

Preview Lab → · Contrast checker → · Palette generator →

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