#B0A042#B0A042

#B0A042 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.1% C 0.116 H 99.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#B0A042
RGBrgb(176, 160, 66)
HSLhsl(51, 45%, 47%)
HSVhsv(51, 63%, 69%)
CMYKcmyk(0%, 9.1%, 62.5%, 31%)
CIE-LABlab(65.57, -5.71, 49.78)
CIE-LCHlch(65.57, 50.11, 96.55°)
OKLaboklab(70.12% -0.0194 0.1139)
OKLCHoklch(70.12% 0.116 99.7)
XYZxyz(31.4599, 34.7664, 10.2067)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A042 #4252B0
analogous
#B06942 #B0A042 #89B042
triadic
#B0A042 #42B0A0 #A042B0
tetradic
#B0A042 #42B069 #4252B0 #B04289
square
#B0A042 #42B069 #4252B0 #B04289
split-complementary
#B0A042 #4289B0 #6942B0
monochromatic
#574F21 #837831 #B0A042 #C7B969 #D7CE95

Accessibility & contrast

On white

2.64
#B0A042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#B0A042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A042
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A042#FFFFFF#000000##000000
##B0A0421.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C37
Deuteranopia (green-blind)
#B3A247
Tritanopia (blue-blind)
#BD958C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b0a042;
/* rgb */ color: rgb(176, 160, 66);
/* oklch */ color: oklch(70.1% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#cabb7a',
    500: '#b0a042',
    950: '#000000',
  },
}
SCSS
$custom: #b0a042;
$custom-light: #cabb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a042",
  "rgb": {
    "r": 176,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 51.273,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70121,
    "c": 0.11558,
    "h": 99.7
  },
  "luminance": 0.34765
}

Semantic roles & 50–950 ramp

primary
#B0A042
secondary
#8B93C3
accent
#66D553
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #B0A042

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

Preview Lab → · Contrast checker → · Palette generator →

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