#B0AC1F#B0AC1F

#B0AC1F is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.5% C 0.148 H 107.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B0AC1F
RGBrgb(176, 172, 31)
HSLhsl(58, 70%, 41%)
HSVhsv(58, 82%, 69%)
CMYKcmyk(0%, 2.3%, 82.4%, 31%)
CIE-LABlab(68.63, -13.71, 65.57)
CIE-LCHlch(68.63, 66.99, 101.81°)
OKLaboklab(72.49% -0.0454 0.1413)
OKLCHoklch(72.49% 0.148 107.8)
XYZxyz(32.9057, 38.8352, 7.0587)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AC1F #1F23B0
analogous
#B0631F #B0AC1F #6BB01F
triadic
#B0AC1F #1FB0AC #AC1FB0
tetradic
#B0AC1F #1FB063 #1F23B0 #B01F6B
square
#B0AC1F #1FB063 #1F23B0 #B01F6B
split-complementary
#B0AC1F #1F6BB0 #631FB0
monochromatic
#48460D #7C7916 #B0AC1F #DBD631 #E4E065

Accessibility & contrast

On white

2.40
#B0AC1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#B0AC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AC1F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AC1F#FFFFFF#000000##000000
##B0AC1F1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BDAA2D
Tritanopia (blue-blind)
#BDA093
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b0ac1f;
/* rgb */ color: rgb(176, 172, 31);
/* oklch */ color: oklch(72.5% 0.148 107.8);
Tailwind
colors: {
  custom: {
    50: '#ccc46a',
    500: '#b0ac1f',
    950: '#000000',
  },
}
SCSS
$custom: #b0ac1f;
$custom-light: #ccc46a;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ac1f",
  "rgb": {
    "r": 176,
    "g": 172,
    "b": 31
  },
  "hsl": {
    "h": 58.345,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72489,
    "c": 0.14843,
    "h": 107.8
  },
  "luminance": 0.38834
}

Semantic roles & 50–950 ramp

primary
#B0AC1F
secondary
#6264C9
accent
#40ED3B
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0AC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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