#B0AB30#B0AB30

#B0AB30 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.4% C 0.139 H 107.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#B0AB30
RGBrgb(176, 171, 48)
HSLhsl(58, 57%, 44%)
HSVhsv(58, 73%, 69%)
CMYKcmyk(0%, 2.8%, 72.7%, 31%)
CIE-LABlab(68.44, -12.53, 60.10)
CIE-LCHlch(68.44, 61.39, 101.78°)
OKLaboklab(72.36% -0.0407 0.1328)
OKLCHoklch(72.36% 0.139 107.1)
XYZxyz(33.0022, 38.5705, 8.5022)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB30 #3035B0
analogous
#B06B30 #B0AB30 #75B030
triadic
#B0AB30 #30B0AB #AB30B0
tetradic
#B0AB30 #30B06B #3035B0 #B03075
square
#B0AB30 #30B06B #3035B0 #B03075
split-complementary
#B0AB30 #3075B0 #6B30B0
monochromatic
#504E16 #807C23 #B0AB30 #CFCA4E #DCD87E

Accessibility & contrast

On white

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

On black

8.71
#B0AB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AB30
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AB30#FFFFFF#000000##000000
##B0AB301.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA419
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#BDA093
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b0ab30;
/* rgb */ color: rgb(176, 171, 48);
/* oklch */ color: oklch(72.4% 0.139 107.1);
Tailwind
colors: {
  custom: {
    50: '#cbc371',
    500: '#b0ab30',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab30;
$custom-light: #cbc371;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab30",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 57.656,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72362,
    "c": 0.13888,
    "h": 107.1
  },
  "luminance": 0.38569
}

Semantic roles & 50–950 ramp

primary
#B0AB30
secondary
#777AC5
accent
#4DE047
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B0AB30

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

Preview Lab → · Contrast checker → · Palette generator →

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