#B0A240#B0A240

#B0A240 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.119 H 101.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B0A240
RGBrgb(176, 162, 64)
HSLhsl(53, 47%, 47%)
HSVhsv(53, 64%, 69%)
CMYKcmyk(0%, 8%, 63.6%, 31%)
CIE-LABlab(66.09, -6.91, 51.25)
CIE-LCHlch(66.09, 51.71, 97.68°)
OKLaboklab(70.53% -0.0231 0.1168)
OKLCHoklch(70.53% 0.119 101.2)
XYZxyz(31.7515, 35.4422, 10.0180)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A240 #404EB0
analogous
#B06A40 #B0A240 #86B040
triadic
#B0A240 #40B0A2 #A240B0
tetradic
#B0A240 #40B06A #404EB0 #B04086
square
#B0A240 #40B06A #404EB0 #B04086
split-complementary
#B0A240 #4086B0 #6A40B0
monochromatic
#564F1F #837930 #B0A240 #C7BB66 #D8CF93

Accessibility & contrast

On white

2.60
#B0A240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B0A240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A240
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A240#FFFFFF#000000##000000
##B0A2401.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D34
Deuteranopia (green-blind)
#B4A345
Tritanopia (blue-blind)
#BD978D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b0a240;
/* rgb */ color: rgb(176, 162, 64);
/* oklch */ color: oklch(70.5% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#cabd79',
    500: '#b0a240',
    950: '#000000',
  },
}
SCSS
$custom: #b0a240;
$custom-light: #cabd79;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a240",
  "rgb": {
    "r": 176,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 52.5,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70532,
    "c": 0.11903,
    "h": 101.2
  },
  "luminance": 0.35441
}

Semantic roles & 50–950 ramp

primary
#B0A240
secondary
#8990C3
accent
#62D651
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B0A240

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

Preview Lab → · Contrast checker → · Palette generator →

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