#B0A81F#B0A81F

#B0A81F is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.6% C 0.145 H 105.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B0A81F
RGBrgb(176, 168, 31)
HSLhsl(57, 70%, 41%)
HSVhsv(57, 82%, 69%)
CMYKcmyk(0%, 4.5%, 82.4%, 31%)
CIE-LABlab(67.53, -11.64, 64.63)
CIE-LCHlch(67.53, 65.67, 100.21°)
OKLaboklab(71.61% -0.0397 0.1393)
OKLCHoklch(71.61% 0.145 105.9)
XYZxyz(32.1559, 37.3356, 6.8087)
Luminance0.3733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A81F #1F27B0
analogous
#B0601F #B0A81F #6FB01F
triadic
#B0A81F #1FB0A8 #A81FB0
tetradic
#B0A81F #1FB060 #1F27B0 #B01F6F
square
#B0A81F #1FB060 #1F27B0 #B01F6F
split-complementary
#B0A81F #1F6FB0 #601FB0
monochromatic
#48450D #7C7616 #B0A81F #DBD131 #E4DD65

Accessibility & contrast

On white

2.48
#B0A81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B0A81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A81F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A81F#FFFFFF#000000##000000
##B0A81F1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#BAA72C
Tritanopia (blue-blind)
#BE9C90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b0a81f;
/* rgb */ color: rgb(176, 168, 31);
/* oklch */ color: oklch(71.6% 0.145 105.9);
Tailwind
colors: {
  custom: {
    50: '#ccc169',
    500: '#b0a81f',
    950: '#000000',
  },
}
SCSS
$custom: #b0a81f;
$custom-light: #ccc169;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a81f",
  "rgb": {
    "r": 176,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 56.69,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71609,
    "c": 0.1448,
    "h": 105.9
  },
  "luminance": 0.37334
}

Semantic roles & 50–950 ramp

primary
#B0A81F
secondary
#6267C9
accent
#45ED3B
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0A81F

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

Preview Lab → · Contrast checker → · Palette generator →

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