#B0A126#B0A126

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

Color values

HEX#B0A126
RGBrgb(176, 161, 38)
HSLhsl(53, 64%, 42%)
HSVhsv(53, 78%, 69%)
CMYKcmyk(0%, 8.5%, 78.4%, 31%)
CIE-LABlab(65.64, -7.72, 60.91)
CIE-LCHlch(65.64, 61.40, 97.23°)
OKLaboklab(70.12% -0.0281 0.1326)
OKLCHoklch(70.12% 0.136 102)
XYZxyz(31.0007, 34.8612, 6.9293)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A126 #2635B0
analogous
#B05C26 #B0A126 #7AB026
triadic
#B0A126 #26B0A1 #A126B0
tetradic
#B0A126 #26B05C #2635B0 #B0267A
square
#B0A126 #26B05C #2635B0 #B0267A
split-complementary
#B0A126 #267AB0 #5C26B0
monochromatic
#4B4510 #7E731B #B0A126 #D5C53E #E0D470

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0A126#FFFFFF#000000##000000
##B0A1261.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)
#B19C05
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#BE958A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b0a126;
/* rgb */ color: rgb(176, 161, 38);
/* oklch */ color: oklch(70.1% 0.136 102.0);
Tailwind
colors: {
  custom: {
    50: '#ccbc6b',
    500: '#b0a126',
    950: '#000000',
  },
}
SCSS
$custom: #b0a126;
$custom-light: #ccbc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a126",
  "rgb": {
    "r": 176,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 53.478,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70117,
    "c": 0.13555,
    "h": 102
  },
  "luminance": 0.3486
}

Semantic roles & 50–950 ramp

primary
#B0A126
secondary
#6B75C7
accent
#52E740
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B0A126

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

Preview Lab → · Contrast checker → · Palette generator →

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