#B1A02A#B1A02A

#B1A02A is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.0% C 0.133 H 100.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#B1A02A
RGBrgb(177, 160, 42)
HSLhsl(52, 62%, 43%)
HSVhsv(52, 76%, 69%)
CMYKcmyk(0%, 9.6%, 76.3%, 30.6%)
CIE-LABlab(65.48, -6.59, 59.46)
CIE-LCHlch(65.48, 59.82, 96.32°)
OKLaboklab(70.02% -0.0246 0.1302)
OKLCHoklch(70.02% 0.133 100.7)
XYZxyz(31.1217, 34.6574, 7.2403)
Luminance0.3466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A02A #2A3BB1
analogous
#B15C2A #B1A02A #7FB12A
triadic
#B1A02A #2AB1A0 #A02AB1
tetradic
#B1A02A #2AB15C #2A3BB1 #B12A7F
square
#B1A02A #2AB15C #2A3BB1 #B12A7F
split-complementary
#B1A02A #2A7FB1 #5C2AB1
monochromatic
#4E4713 #80731E #B1A02A #D3C145 #DFD277

Accessibility & contrast

On white

2.65
#B1A02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#B1A02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A02A
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A02A#FFFFFF#000000##000000
##B1A02A1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B11
Deuteranopia (green-blind)
#B4A232
Tritanopia (blue-blind)
#BF948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b1a02a;
/* rgb */ color: rgb(177, 160, 42);
/* oklch */ color: oklch(70.0% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#ccbb6d',
    500: '#b1a02a',
    950: '#000000',
  },
}
SCSS
$custom: #b1a02a;
$custom-light: #ccbb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a02a",
  "rgb": {
    "r": 177,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 52.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70019,
    "c": 0.13254,
    "h": 100.7
  },
  "luminance": 0.34656
}

Semantic roles & 50–950 ramp

primary
#B1A02A
secondary
#707BC6
accent
#57E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B1A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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