#B1A12A#B1A12A

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

Color values

HEX#B1A12A
RGBrgb(177, 161, 42)
HSLhsl(53, 62%, 43%)
HSVhsv(53, 76%, 69%)
CMYKcmyk(0%, 9%, 76.3%, 30.6%)
CIE-LABlab(65.75, -7.12, 59.71)
CIE-LCHlch(65.75, 60.13, 96.80°)
OKLaboklab(70.24% -0.0261 0.1308)
OKLCHoklch(70.24% 0.133 101.3)
XYZxyz(31.2957, 35.0055, 7.2983)
Luminance0.3500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A12A #2A3AB1
analogous
#B15D2A #B1A12A #7DB12A
triadic
#B1A12A #2AB1A1 #A12AB1
tetradic
#B1A12A #2AB15D #2A3AB1 #B12A7D
square
#B1A12A #2AB15D #2A3AB1 #B12A7D
split-complementary
#B1A12A #2A7DB1 #5D2AB1
monochromatic
#4E4713 #80741E #B1A12A #D3C245 #DFD277

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A12A#FFFFFF#000000##000000
##B1A12A1.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)
#B19C11
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#BF958A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a12a;
/* rgb */ color: rgb(177, 161, 42);
/* oklch */ color: oklch(70.2% 0.133 101.3);
Tailwind
colors: {
  custom: {
    50: '#ccbc6d',
    500: '#b1a12a',
    950: '#000000',
  },
}
SCSS
$custom: #b1a12a;
$custom-light: #ccbc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a12a",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 52.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70235,
    "c": 0.13336,
    "h": 101.3
  },
  "luminance": 0.35004
}

Semantic roles & 50–950 ramp

primary
#B1A12A
secondary
#707BC6
accent
#56E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B1A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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