#B0A128#B0A128

#B0A128 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.134 H 101.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B0A128
RGBrgb(176, 161, 40)
HSLhsl(53, 63%, 42%)
HSVhsv(53, 77%, 69%)
CMYKcmyk(0%, 8.5%, 77.3%, 31%)
CIE-LABlab(65.65, -7.64, 60.26)
CIE-LCHlch(65.65, 60.75, 97.23°)
OKLaboklab(70.13% -0.0277 0.1316)
OKLCHoklch(70.13% 0.134 101.9)
XYZxyz(31.0338, 34.8745, 7.1038)
Luminance0.3487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A128 #2837B0
analogous
#B05D28 #B0A128 #7BB028
triadic
#B0A128 #28B0A1 #A128B0
tetradic
#B0A128 #28B05D #2837B0 #B0287B
square
#B0A128 #28B05D #2837B0 #B0287B
split-complementary
#B0A128 #287BB0 #5D28B0
monochromatic
#4C4611 #7E731D #B0A128 #D4C441 #DFD373

Accessibility & contrast

On white

2.63
#B0A128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#B0A128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A128
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A128#FFFFFF#000000##000000
##B0A1281.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0B
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#BE958A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b0a128;
/* rgb */ color: rgb(176, 161, 40);
/* oklch */ color: oklch(70.1% 0.134 101.9);
Tailwind
colors: {
  custom: {
    50: '#cbbc6c',
    500: '#b0a128',
    950: '#000000',
  },
}
SCSS
$custom: #b0a128;
$custom-light: #cbbc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a128",
  "rgb": {
    "r": 176,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 53.382,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70128,
    "c": 0.13449,
    "h": 101.9
  },
  "luminance": 0.34873
}

Semantic roles & 50–950 ramp

primary
#B0A128
secondary
#6D77C6
accent
#54E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B0A128

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

Preview Lab → · Contrast checker → · Palette generator →

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