#B1A52A#B1A52A

#B1A52A is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.1% C 0.137 H 103.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B1A52A
RGBrgb(177, 165, 42)
HSLhsl(55, 62%, 43%)
HSVhsv(55, 76%, 69%)
CMYKcmyk(0%, 6.8%, 76.3%, 30.6%)
CIE-LABlab(66.84, -9.23, 60.72)
CIE-LCHlch(66.84, 61.42, 98.64°)
OKLaboklab(71.1% -0.0321 0.1329)
OKLCHoklch(71.1% 0.137 103.6)
XYZxyz(32.0059, 36.4259, 7.5350)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A52A #2A36B1
analogous
#B1622A #B1A52A #79B12A
triadic
#B1A52A #2AB1A5 #A52AB1
tetradic
#B1A52A #2AB162 #2A36B1 #B12A79
square
#B1A52A #2AB162 #2A36B1 #B12A79
split-complementary
#B1A52A #2A79B1 #622AB1
monochromatic
#4E4913 #80771E #B1A52A #D3C645 #DFD577

Accessibility & contrast

On white

2.53
#B1A52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#B1A52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A52A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A52A#FFFFFF#000000##000000
##B1A52A1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0E
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#BF998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a52a;
/* rgb */ color: rgb(177, 165, 42);
/* oklch */ color: oklch(71.1% 0.137 103.6);
Tailwind
colors: {
  custom: {
    50: '#ccbf6e',
    500: '#b1a52a',
    950: '#000000',
  },
}
SCSS
$custom: #b1a52a;
$custom-light: #ccbf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a52a",
  "rgb": {
    "r": 177,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 54.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71102,
    "c": 0.13675,
    "h": 103.6
  },
  "luminance": 0.36425
}

Semantic roles & 50–950 ramp

primary
#B1A52A
secondary
#7078C6
accent
#51E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A52A

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

Preview Lab → · Contrast checker → · Palette generator →

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