#B0A342#B0A342

#B0A342 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.118 H 101.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B0A342
RGBrgb(176, 163, 66)
HSLhsl(53, 45%, 47%)
HSVhsv(53, 63%, 69%)
CMYKcmyk(0%, 7.4%, 62.5%, 31%)
CIE-LABlab(66.38, -7.31, 50.67)
CIE-LCHlch(66.38, 51.19, 98.21°)
OKLaboklab(70.77% -0.024 0.1158)
OKLCHoklch(70.77% 0.118 101.7)
XYZxyz(31.9863, 35.8191, 10.3821)
Luminance0.3582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A342 #424FB0
analogous
#B06C42 #B0A342 #86B042
triadic
#B0A342 #42B0A3 #A342B0
tetradic
#B0A342 #42B06C #424FB0 #B04286
square
#B0A342 #42B06C #424FB0 #B04286
split-complementary
#B0A342 #4286B0 #6C42B0
monochromatic
#575121 #837A31 #B0A342 #C7BB69 #D7CF95

Accessibility & contrast

On white

2.57
#B0A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B0A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A342
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A342#FFFFFF#000000##000000
##B0A3421.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E37
Deuteranopia (green-blind)
#B5A447
Tritanopia (blue-blind)
#BD988E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b0a342;
/* rgb */ color: rgb(176, 163, 66);
/* oklch */ color: oklch(70.8% 0.118 101.7);
Tailwind
colors: {
  custom: {
    50: '#cabe7b',
    500: '#b0a342',
    950: '#000000',
  },
}
SCSS
$custom: #b0a342;
$custom-light: #cabe7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a342",
  "rgb": {
    "r": 176,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 52.909,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70768,
    "c": 0.11829,
    "h": 101.7
  },
  "luminance": 0.35818
}

Semantic roles & 50–950 ramp

primary
#B0A342
secondary
#8B91C3
accent
#62D553
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B0A342

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

Preview Lab → · Contrast checker → · Palette generator →

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