#B1A02C#B1A02C

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

Color values

HEX#B1A02C
RGBrgb(177, 160, 44)
HSLhsl(52, 60%, 43%)
HSVhsv(52, 75%, 69%)
CMYKcmyk(0%, 9.6%, 75.1%, 30.6%)
CIE-LABlab(65.49, -6.50, 58.76)
CIE-LCHlch(65.49, 59.12, 96.31°)
OKLaboklab(70.03% -0.0242 0.1291)
OKLCHoklch(70.03% 0.131 100.6)
XYZxyz(31.1584, 34.6720, 7.4335)
Luminance0.3467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A02C #2C3DB1
analogous
#B15D2C #B1A02C #7FB12C
triadic
#B1A02C #2CB1A0 #A02CB1
tetradic
#B1A02C #2CB15D #2C3DB1 #B12C7F
square
#B1A02C #2CB15D #2C3DB1 #B12C7F
split-complementary
#B1A02C #2C7FB1 #5D2CB1
monochromatic
#4F4714 #807420 #B1A02C #D2C049 #DED17A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A02C#FFFFFF#000000##000000
##B1A02C1.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)
#B09B16
Deuteranopia (green-blind)
#B4A234
Tritanopia (blue-blind)
#BF948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b1a02c;
/* rgb */ color: rgb(177, 160, 44);
/* oklch */ color: oklch(70.0% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#ccbb6e',
    500: '#b1a02c',
    950: '#000000',
  },
}
SCSS
$custom: #b1a02c;
$custom-light: #ccbb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a02c",
  "rgb": {
    "r": 177,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 52.331,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70032,
    "c": 0.1314,
    "h": 100.6
  },
  "luminance": 0.34671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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