#B1A02B#B1A02B

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

Color values

HEX#B1A02B
RGBrgb(177, 160, 43)
HSLhsl(52, 61%, 43%)
HSVhsv(52, 76%, 69%)
CMYKcmyk(0%, 9.6%, 75.7%, 30.6%)
CIE-LABlab(65.49, -6.55, 59.11)
CIE-LCHlch(65.49, 59.47, 96.32°)
OKLaboklab(70.03% -0.0244 0.1297)
OKLCHoklch(70.03% 0.132 100.7)
XYZxyz(31.1398, 34.6646, 7.3357)
Luminance0.3466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A02B #2B3CB1
analogous
#B15D2B #B1A02B #7FB12B
triadic
#B1A02B #2BB1A0 #A02BB1
tetradic
#B1A02B #2BB15D #2B3CB1 #B12B7F
square
#B1A02B #2BB15D #2B3CB1 #B12B7F
split-complementary
#B1A02B #2B7FB1 #5D2BB1
monochromatic
#4F4713 #80731F #B1A02B #D2C147 #DED178

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A02B#FFFFFF#000000##000000
##B1A02B1.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)
#B09B14
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#BF948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b1a02b;
/* rgb */ color: rgb(177, 160, 43);
/* oklch */ color: oklch(70.0% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#ccbb6d',
    500: '#b1a02b',
    950: '#000000',
  },
}
SCSS
$custom: #b1a02b;
$custom-light: #ccbb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a02b",
  "rgb": {
    "r": 177,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 52.388,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70025,
    "c": 0.13198,
    "h": 100.7
  },
  "luminance": 0.34663
}

Semantic roles & 50–950 ramp

primary
#B1A02B
secondary
#727CC6
accent
#58E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B1A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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