#B1A72F#B1A72F

#B1A72F is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.136 H 104.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B1A72F
RGBrgb(177, 167, 47)
HSLhsl(55, 58%, 44%)
HSVhsv(55, 73%, 69%)
CMYKcmyk(0%, 5.6%, 73.4%, 30.6%)
CIE-LABlab(67.42, -10.06, 59.52)
CIE-LCHlch(67.42, 60.36, 99.59°)
OKLaboklab(71.57% -0.0339 0.1313)
OKLCHoklch(71.57% 0.136 104.5)
XYZxyz(32.4646, 37.1911, 8.1573)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A72F #2F39B1
analogous
#B1662F #B1A72F #7AB12F
triadic
#B1A72F #2FB1A7 #A72FB1
tetradic
#B1A72F #2FB166 #2F39B1 #B12F7A
square
#B1A72F #2FB166 #2F39B1 #B12F7A
split-complementary
#B1A72F #2F7AB1 #662FB1
monochromatic
#504C15 #817922 #B1A72F #D0C64D #DDD57E

Accessibility & contrast

On white

2.49
#B1A72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B1A72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A72F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A72F#FFFFFF#000000##000000
##B1A72F1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A119
Deuteranopia (green-blind)
#B9A738
Tritanopia (blue-blind)
#BE9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b1a72f;
/* rgb */ color: rgb(177, 167, 47);
/* oklch */ color: oklch(71.6% 0.136 104.5);
Tailwind
colors: {
  custom: {
    50: '#ccc070',
    500: '#b1a72f',
    950: '#000000',
  },
}
SCSS
$custom: #b1a72f;
$custom-light: #ccc070;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a72f",
  "rgb": {
    "r": 177,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 55.385,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71569,
    "c": 0.13562,
    "h": 104.5
  },
  "luminance": 0.3719
}

Semantic roles & 50–950 ramp

primary
#B1A72F
secondary
#767DC5
accent
#52E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A72F

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

Preview Lab → · Contrast checker → · Palette generator →

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