#B0A540#B0A540

#B0A540 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.122 H 103.1°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B0A540
RGBrgb(176, 165, 64)
HSLhsl(54, 47%, 47%)
HSVhsv(54, 64%, 69%)
CMYKcmyk(0%, 6.2%, 63.6%, 31%)
CIE-LABlab(66.91, -8.50, 52.12)
CIE-LCHlch(66.91, 52.81, 99.26°)
OKLaboklab(71.18% -0.0276 0.1186)
OKLCHoklch(71.18% 0.122 103.1)
XYZxyz(32.2863, 36.5118, 10.1963)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A540 #404BB0
analogous
#B06D40 #B0A540 #83B040
triadic
#B0A540 #40B0A5 #A540B0
tetradic
#B0A540 #40B06D #404BB0 #B04083
square
#B0A540 #40B06D #404BB0 #B04083
split-complementary
#B0A540 #4083B0 #6D40B0
monochromatic
#56511F #837B30 #B0A540 #C7BE66 #D8D193

Accessibility & contrast

On white

2.53
#B0A540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#B0A540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A540
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A540#FFFFFF#000000##000000
##B0A5401.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#B7A546
Tritanopia (blue-blind)
#BD9A90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b0a540;
/* rgb */ color: rgb(176, 165, 64);
/* oklch */ color: oklch(71.2% 0.122 103.1);
Tailwind
colors: {
  custom: {
    50: '#cabf79',
    500: '#b0a540',
    950: '#000000',
  },
}
SCSS
$custom: #b0a540;
$custom-light: #cabf79;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a540",
  "rgb": {
    "r": 176,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 54.107,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71182,
    "c": 0.1218,
    "h": 103.1
  },
  "luminance": 0.36511
}

Semantic roles & 50–950 ramp

primary
#B0A540
secondary
#898FC3
accent
#5FD651
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B0A540

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

Preview Lab → · Contrast checker → · Palette generator →

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