#B1B02F#B1B02F

#B1B02F is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.5% C 0.144 H 109.0°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#B1B02F
RGBrgb(177, 176, 47)
HSLhsl(60, 58%, 44%)
HSVhsv(60, 73%, 69%)
CMYKcmyk(0%, 0.6%, 73.4%, 30.6%)
CIE-LABlab(69.90, -14.72, 61.87)
CIE-LCHlch(69.90, 63.60, 103.38°)
OKLaboklab(73.55% -0.047 0.1363)
OKLCHoklch(73.55% 0.144 109)
XYZxyz(34.1712, 40.6041, 8.7261)
Luminance0.4060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B02F #2F30B1
analogous
#B16F2F #B1B02F #71B12F
triadic
#B1B02F #2FB1B0 #B02FB1
tetradic
#B1B02F #2FB16F #2F30B1 #B12F71
square
#B1B02F #2FB16F #2F30B1 #B12F71
split-complementary
#B1B02F #2F71B1 #6F2FB1
monochromatic
#505015 #818022 #B1B02F #D0CF4D #DDDC7E

Accessibility & contrast

On white

2.30
#B1B02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#B1B02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B02F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B02F#FFFFFF#000000##000000
##B1B02F1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA915
Deuteranopia (green-blind)
#C0AD39
Tritanopia (blue-blind)
#BEA597
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b1b02f;
/* rgb */ color: rgb(177, 176, 47);
/* oklch */ color: oklch(73.5% 0.144 109.0);
Tailwind
colors: {
  custom: {
    50: '#ccc771',
    500: '#b1b02f',
    950: '#000000',
  },
}
SCSS
$custom: #b1b02f;
$custom-light: #ccc771;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b02f",
  "rgb": {
    "r": 177,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 59.538,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73545,
    "c": 0.14418,
    "h": 109
  },
  "luminance": 0.40603
}

Semantic roles & 50–950 ramp

primary
#B1B02F
secondary
#7677C5
accent
#48E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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