#B0AB23#B0AB23

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

Color values

HEX#B0AB23
RGBrgb(176, 171, 35)
HSLhsl(58, 67%, 41%)
HSVhsv(58, 80%, 69%)
CMYKcmyk(0%, 2.8%, 80.1%, 31%)
CIE-LABlab(68.37, -13.06, 64.25)
CIE-LCHlch(68.37, 65.57, 101.49°)
OKLaboklab(72.29% -0.0433 0.1392)
OKLCHoklch(72.29% 0.146 107.3)
XYZxyz(32.7721, 38.4785, 7.2906)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB23 #2328B0
analogous
#B06523 #B0AB23 #6FB023
triadic
#B0AB23 #23B0AB #AB23B0
tetradic
#B0AB23 #23B065 #2328B0 #B0236F
square
#B0AB23 #23B065 #2328B0 #B0236F
split-complementary
#B0AB23 #236FB0 #6523B0
monochromatic
#4A480F #7D7919 #B0AB23 #D8D239 #E2DE6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0AB23#FFFFFF#000000##000000
##B0AB231.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0ab23;
/* rgb */ color: rgb(176, 171, 35);
/* oklch */ color: oklch(72.3% 0.146 107.3);
Tailwind
colors: {
  custom: {
    50: '#ccc36b',
    500: '#b0ab23',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab23;
$custom-light: #ccc36b;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab23",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 35
  },
  "hsl": {
    "h": 57.872,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72287,
    "c": 0.14578,
    "h": 107.3
  },
  "luminance": 0.38477
}

Semantic roles & 50–950 ramp

primary
#B0AB23
secondary
#676AC8
accent
#44EA3E
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0AB23

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

Preview Lab → · Contrast checker → · Palette generator →

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