#B0AB40#B0AB40

#B0AB40 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.128 H 106.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B0AB40
RGBrgb(176, 171, 64)
HSLhsl(57, 47%, 47%)
HSVhsv(57, 64%, 69%)
CMYKcmyk(0%, 2.8%, 63.6%, 31%)
CIE-LABlab(68.55, -11.64, 53.88)
CIE-LCHlch(68.55, 55.12, 102.19°)
OKLaboklab(72.49% -0.0365 0.1223)
OKLCHoklch(72.49% 0.128 106.6)
XYZxyz(33.3940, 38.7272, 10.5655)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AB40 #4045B0
analogous
#B07340 #B0AB40 #7DB040
triadic
#B0AB40 #40B0AB #AB40B0
tetradic
#B0AB40 #40B073 #4045B0 #B0407D
square
#B0AB40 #40B073 #4045B0 #B0407D
split-complementary
#B0AB40 #407DB0 #7340B0
monochromatic
#56541F #837F30 #B0AB40 #C7C366 #D8D593

Accessibility & contrast

On white

2.40
#B0AB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#B0AB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AB40
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AB40#FFFFFF#000000##000000
##B0AB401.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A533
Deuteranopia (green-blind)
#BBA946
Tritanopia (blue-blind)
#BCA095
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b0ab40;
/* rgb */ color: rgb(176, 171, 64);
/* oklch */ color: oklch(72.5% 0.128 106.6);
Tailwind
colors: {
  custom: {
    50: '#cac37a',
    500: '#b0ab40',
    950: '#000000',
  },
}
SCSS
$custom: #b0ab40;
$custom-light: #cac37a;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ab40",
  "rgb": {
    "r": 176,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 57.321,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.7249,
    "c": 0.12767,
    "h": 106.6
  },
  "luminance": 0.38726
}

Semantic roles & 50–950 ramp

primary
#B0AB40
secondary
#898BC3
accent
#57D651
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B0AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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