#B0AB27#B0AB27

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

Color values

HEX#B0AB27
RGBrgb(176, 171, 39)
HSLhsl(58, 64%, 42%)
HSVhsv(58, 78%, 69%)
CMYKcmyk(0%, 2.8%, 77.8%, 31%)
CIE-LABlab(68.39, -12.92, 63.08)
CIE-LCHlch(68.39, 64.38, 101.57°)
OKLaboklab(72.31% -0.0426 0.1374)
OKLCHoklch(72.31% 0.144 107.2)
XYZxyz(32.8350, 38.5036, 7.6214)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB27 #272CB0
analogous
#B06627 #B0AB27 #71B027
triadic
#B0AB27 #27B0AB #AB27B0
tetradic
#B0AB27 #27B066 #272CB0 #B02771
square
#B0AB27 #27B066 #272CB0 #B02771
split-complementary
#B0AB27 #2771B0 #6627B0
monochromatic
#4C4A11 #7E7A1C #B0AB27 #D5CF40 #E0DC72

Accessibility & contrast

On white

2.41
#B0AB27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#B0AB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AB27
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AB27#FFFFFF#000000##000000
##B0AB271.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0ab27;
/* rgb */ color: rgb(176, 171, 39);
/* oklch */ color: oklch(72.3% 0.144 107.2);
Tailwind
colors: {
  custom: {
    50: '#cbc36d',
    500: '#b0ab27',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab27;
$custom-light: #cbc36d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab27",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 57.81,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72308,
    "c": 0.14388,
    "h": 107.2
  },
  "luminance": 0.38502
}

Semantic roles & 50–950 ramp

primary
#B0AB27
secondary
#6C6FC7
accent
#47E741
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B0AB27

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

Preview Lab → · Contrast checker → · Palette generator →

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