#B0AB25#B0AB25

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

Color values

HEX#B0AB25
RGBrgb(176, 171, 37)
HSLhsl(58, 65%, 42%)
HSVhsv(58, 79%, 69%)
CMYKcmyk(0%, 2.8%, 79%, 31%)
CIE-LABlab(68.38, -12.99, 63.68)
CIE-LCHlch(68.38, 64.99, 101.53°)
OKLaboklab(72.3% -0.043 0.1383)
OKLCHoklch(72.3% 0.145 107.3)
XYZxyz(32.8027, 38.4907, 7.4514)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB25 #252AB0
analogous
#B06625 #B0AB25 #70B025
triadic
#B0AB25 #25B0AB #AB25B0
tetradic
#B0AB25 #25B066 #252AB0 #B02570
square
#B0AB25 #25B066 #252AB0 #B02570
split-complementary
#B0AB25 #2570B0 #6625B0
monochromatic
#4B4910 #7D7A1A #B0AB25 #D6D13C #E1DD6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b0ab25;
/* rgb */ color: rgb(176, 171, 37);
/* oklch */ color: oklch(72.3% 0.145 107.3);
Tailwind
colors: {
  custom: {
    50: '#cbc36c',
    500: '#b0ab25',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab25;
$custom-light: #cbc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab25",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 37
  },
  "hsl": {
    "h": 57.842,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72297,
    "c": 0.14486,
    "h": 107.3
  },
  "luminance": 0.38489
}

Semantic roles & 50–950 ramp

primary
#B0AB25
secondary
#6A6DC7
accent
#46E840
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B0AB25

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

Preview Lab → · Contrast checker → · Palette generator →

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