#B0A42B#B0A42B

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

Color values

HEX#B0A42B
RGBrgb(176, 164, 43)
HSLhsl(55, 61%, 43%)
HSVhsv(55, 76%, 69%)
CMYKcmyk(0%, 6.8%, 75.6%, 31%)
CIE-LABlab(66.49, -9.10, 60.02)
CIE-LCHlch(66.49, 60.70, 98.63°)
OKLaboklab(70.8% -0.0316 0.1317)
OKLCHoklch(70.8% 0.135 103.5)
XYZxyz(31.6174, 35.9568, 7.5600)
Luminance0.3595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A42B #2B37B0
analogous
#B0612B #B0A42B #7AB02B
triadic
#B0A42B #2BB0A4 #A42BB0
tetradic
#B0A42B #2BB061 #2B37B0 #B02B7A
square
#B0A42B #2BB061 #2B37B0 #B02B7A
split-complementary
#B0A42B #2B7AB0 #612BB0
monochromatic
#4E4813 #7F761F #B0A42B #D2C546 #DED578

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0A42B#FFFFFF#000000##000000
##B0A42B1.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)
#B39E12
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#BE988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b0a42b;
/* rgb */ color: rgb(176, 164, 43);
/* oklch */ color: oklch(70.8% 0.135 103.5);
Tailwind
colors: {
  custom: {
    50: '#cbbe6e',
    500: '#b0a42b',
    950: '#000000',
  },
}
SCSS
$custom: #b0a42b;
$custom-light: #cbbe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a42b",
  "rgb": {
    "r": 176,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 54.586,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70798,
    "c": 0.13539,
    "h": 103.5
  },
  "luminance": 0.35955
}

Semantic roles & 50–950 ramp

primary
#B0A42B
secondary
#7179C6
accent
#52E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B0A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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