#B0AB1F#B0AB1F

#B0AB1F is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.3% C 0.148 H 107.4°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#B0AB1F
RGBrgb(176, 171, 31)
HSLhsl(58, 70%, 41%)
HSVhsv(58, 82%, 69%)
CMYKcmyk(0%, 2.8%, 82.4%, 31%)
CIE-LABlab(68.36, -13.19, 65.34)
CIE-LCHlch(68.36, 66.66, 101.41°)
OKLaboklab(72.27% -0.044 0.1408)
OKLCHoklch(72.27% 0.148 107.4)
XYZxyz(32.7161, 38.4560, 6.9955)
Luminance0.3846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB1F #1F24B0
analogous
#B0621F #B0AB1F #6CB01F
triadic
#B0AB1F #1FB0AB #AB1FB0
tetradic
#B0AB1F #1FB062 #1F24B0 #B01F6C
square
#B0AB1F #1FB062 #1F24B0 #B01F6C
split-complementary
#B0AB1F #1F6CB0 #621FB0
monochromatic
#48460D #7C7816 #B0AB1F #DBD531 #E4E065

Accessibility & contrast

On white

2.42
#B0AB1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B0AB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AB1F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AB1F#FFFFFF#000000##000000
##B0AB1F1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BDA92C
Tritanopia (blue-blind)
#BD9F92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b0ab1f;
/* rgb */ color: rgb(176, 171, 31);
/* oklch */ color: oklch(72.3% 0.148 107.4);
Tailwind
colors: {
  custom: {
    50: '#ccc36a',
    500: '#b0ab1f',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab1f;
$custom-light: #ccc36a;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab1f",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 31
  },
  "hsl": {
    "h": 57.931,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72269,
    "c": 0.14751,
    "h": 107.4
  },
  "luminance": 0.38455
}

Semantic roles & 50–950 ramp

primary
#B0AB1F
secondary
#6265C9
accent
#41ED3B
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0AB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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