#B0AA2F#B0AA2F

#B0AA2F is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.1% C 0.139 H 106.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#B0AA2F
RGBrgb(176, 170, 47)
HSLhsl(57, 58%, 44%)
HSVhsv(57, 73%, 69%)
CMYKcmyk(0%, 3.4%, 73.3%, 31%)
CIE-LABlab(68.16, -12.06, 60.19)
CIE-LCHlch(68.16, 61.39, 101.33°)
OKLaboklab(72.14% -0.0395 0.1328)
OKLCHoklch(72.14% 0.139 106.6)
XYZxyz(32.7936, 38.1860, 8.3320)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AA2F #2F35B0
analogous
#B0692F #B0AA2F #75B02F
triadic
#B0AA2F #2FB0AA #AA2FB0
tetradic
#B0AA2F #2FB069 #2F35B0 #B02F75
square
#B0AA2F #2FB069 #2F35B0 #B02F75
split-complementary
#B0AA2F #2F75B0 #692FB0
monochromatic
#4F4D15 #807B22 #B0AA2F #CFC94D #DCD87D

Accessibility & contrast

On white

2.43
#B0AA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#B0AA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AA2F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AA2F#FFFFFF#000000##000000
##B0AA2F1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A318
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#BD9F92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b0aa2f;
/* rgb */ color: rgb(176, 170, 47);
/* oklch */ color: oklch(72.1% 0.139 106.6);
Tailwind
colors: {
  custom: {
    50: '#cbc371',
    500: '#b0aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #b0aa2f;
$custom-light: #cbc371;
$custom-dark: #000000;
JSON
{
  "hex": "#b0aa2f",
  "rgb": {
    "r": 176,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 57.209,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72136,
    "c": 0.13853,
    "h": 106.6
  },
  "luminance": 0.38185
}

Semantic roles & 50–950 ramp

primary
#B0AA2F
secondary
#767AC5
accent
#4EE147
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B0AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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