#B0A42A#B0A42A

#B0A42A is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.136 H 103.5°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B0A42A
RGBrgb(176, 164, 42)
HSLhsl(55, 61%, 43%)
HSVhsv(55, 76%, 69%)
CMYKcmyk(0%, 6.8%, 76.1%, 31%)
CIE-LABlab(66.48, -9.15, 60.35)
CIE-LCHlch(66.48, 61.04, 98.62°)
OKLaboklab(70.79% -0.0318 0.1322)
OKLCHoklch(70.79% 0.136 103.5)
XYZxyz(31.5993, 35.9495, 7.4645)
Luminance0.3595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A42A #2A36B0
analogous
#B0612A #B0A42A #79B02A
triadic
#B0A42A #2AB0A4 #A42AB0
tetradic
#B0A42A #2AB061 #2A36B0 #B02A79
square
#B0A42A #2AB061 #2A36B0 #B02A79
split-complementary
#B0A42A #2A79B0 #612AB0
monochromatic
#4D4812 #7F761E #B0A42A #D3C645 #DED576

Accessibility & contrast

On white

2.56
#B0A42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B0A42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A42A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A42A#FFFFFF#000000##000000
##B0A42A1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0F
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#BE988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b0a42a;
/* rgb */ color: rgb(176, 164, 42);
/* oklch */ color: oklch(70.8% 0.136 103.5);
Tailwind
colors: {
  custom: {
    50: '#cbbe6d',
    500: '#b0a42a',
    950: '#000000',
  },
}
SCSS
$custom: #b0a42a;
$custom-light: #cbbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a42a",
  "rgb": {
    "r": 176,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 54.627,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70792,
    "c": 0.13596,
    "h": 103.5
  },
  "luminance": 0.35948
}

Semantic roles & 50–950 ramp

primary
#B0A42A
secondary
#7078C6
accent
#52E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B0A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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