#B0AA40#B0AA40

#B0AA40 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.3% C 0.127 H 106.1°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B0AA40
RGBrgb(176, 170, 64)
HSLhsl(57, 47%, 47%)
HSVhsv(57, 64%, 69%)
CMYKcmyk(0%, 3.4%, 63.6%, 31%)
CIE-LABlab(68.28, -11.12, 53.58)
CIE-LCHlch(68.28, 54.73, 101.72°)
OKLaboklab(72.27% -0.035 0.1217)
OKLCHoklch(72.27% 0.127 106.1)
XYZxyz(33.2058, 38.3508, 10.5028)
Luminance0.3835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AA40 #4046B0
analogous
#B07240 #B0AA40 #7EB040
triadic
#B0AA40 #40B0AA #AA40B0
tetradic
#B0AA40 #40B072 #4046B0 #B0407E
square
#B0AA40 #40B072 #4046B0 #B0407E
split-complementary
#B0AA40 #407EB0 #7240B0
monochromatic
#56531F #837F30 #B0AA40 #C7C266 #D8D493

Accessibility & contrast

On white

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

On black

8.67
#B0AA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AA40
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AA40#FFFFFF#000000##000000
##B0AA401.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#BAA946
Tritanopia (blue-blind)
#BC9F94
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b0aa40;
/* rgb */ color: rgb(176, 170, 64);
/* oklch */ color: oklch(72.3% 0.127 106.1);
Tailwind
colors: {
  custom: {
    50: '#cac37a',
    500: '#b0aa40',
    950: '#000000',
  },
}
SCSS
$custom: #b0aa40;
$custom-light: #cac37a;
$custom-dark: #000000;
JSON
{
  "hex": "#b0aa40",
  "rgb": {
    "r": 176,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 56.786,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72271,
    "c": 0.12667,
    "h": 106.1
  },
  "luminance": 0.3835
}

Semantic roles & 50–950 ramp

primary
#B0AA40
secondary
#898CC3
accent
#59D651
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B0AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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