#B0AB1C#B0AB1C

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

Color values

HEX#B0AB1C
RGBrgb(176, 171, 28)
HSLhsl(58, 73%, 40%)
HSVhsv(58, 84%, 69%)
CMYKcmyk(0%, 2.8%, 84.1%, 31%)
CIE-LABlab(68.34, -13.28, 66.08)
CIE-LCHlch(68.34, 67.40, 101.36°)
OKLaboklab(72.26% -0.0445 0.1419)
OKLCHoklch(72.26% 0.149 107.4)
XYZxyz(32.6784, 38.4410, 6.7969)
Luminance0.3844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB1C #1C21B0
analogous
#B0611C #B0AB1C #6BB01C
triadic
#B0AB1C #1CB0AB #AB1CB0
tetradic
#B0AB1C #1CB061 #1C21B0 #B01C6B
square
#B0AB1C #1CB061 #1C21B0 #B01C6B
split-complementary
#B0AB1C #1C6BB0 #611CB0
monochromatic
#46440B #7B7814 #B0AB1C #DDD72C #E6E161

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0AB1C#FFFFFF#000000##000000
##B0AB1C1.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)
#BDA92A
Tritanopia (blue-blind)
#BD9F92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b0ab1c;
/* rgb */ color: rgb(176, 171, 28);
/* oklch */ color: oklch(72.3% 0.149 107.4);
Tailwind
colors: {
  custom: {
    50: '#ccc369',
    500: '#b0ab1c',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab1c;
$custom-light: #ccc369;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab1c",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 28
  },
  "hsl": {
    "h": 57.973,
    "s": 72.549,
    "l": 40
  },
  "oklch": {
    "l": 0.72257,
    "c": 0.14868,
    "h": 107.4
  },
  "luminance": 0.3844
}

Semantic roles & 50–950 ramp

primary
#B0AB1C
secondary
#5E61CA
accent
#3FEF39
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0AB1C

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

Preview Lab → · Contrast checker → · Palette generator →

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