#B1AD2F#B1AD2F

#B1AD2F is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.9% C 0.141 H 107.6°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B1AD2F
RGBrgb(177, 173, 47)
HSLhsl(58, 58%, 44%)
HSVhsv(58, 73%, 69%)
CMYKcmyk(0%, 2.3%, 73.4%, 30.6%)
CIE-LABlab(69.07, -13.18, 61.09)
CIE-LCHlch(69.07, 62.49, 102.17°)
OKLaboklab(72.88% -0.0427 0.1346)
OKLCHoklch(72.88% 0.141 107.6)
XYZxyz(33.5894, 39.4406, 8.5322)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AD2F #2F33B1
analogous
#B16C2F #B1AD2F #74B12F
triadic
#B1AD2F #2FB1AD #AD2FB1
tetradic
#B1AD2F #2FB16C #2F33B1 #B12F74
square
#B1AD2F #2FB16C #2F33B1 #B12F74
split-complementary
#B1AD2F #2F74B1 #6C2FB1
monochromatic
#504E15 #817E22 #B1AD2F #D0CC4D #DDDA7E

Accessibility & contrast

On white

2.36
#B1AD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#B1AD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AD2F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AD2F#FFFFFF#000000##000000
##B1AD2F1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA616
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#BEA195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b1ad2f;
/* rgb */ color: rgb(177, 173, 47);
/* oklch */ color: oklch(72.9% 0.141 107.6);
Tailwind
colors: {
  custom: {
    50: '#ccc571',
    500: '#b1ad2f',
    950: '#000000',
  },
}
SCSS
$custom: #b1ad2f;
$custom-light: #ccc571;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ad2f",
  "rgb": {
    "r": 177,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 58.154,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72883,
    "c": 0.14124,
    "h": 107.6
  },
  "luminance": 0.39439
}

Semantic roles & 50–950 ramp

primary
#B1AD2F
secondary
#7679C5
accent
#4BE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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