#B0A226#B0A226

#B0A226 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.3% C 0.136 H 102.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B0A226
RGBrgb(176, 162, 38)
HSLhsl(54, 64%, 42%)
HSVhsv(54, 78%, 69%)
CMYKcmyk(0%, 8%, 78.4%, 31%)
CIE-LABlab(65.91, -8.25, 61.16)
CIE-LCHlch(65.91, 61.71, 97.68°)
OKLaboklab(70.33% -0.0296 0.1331)
OKLCHoklch(70.33% 0.136 102.6)
XYZxyz(31.1761, 35.2121, 6.9878)
Luminance0.3521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A226 #2634B0
analogous
#B05D26 #B0A226 #79B026
triadic
#B0A226 #26B0A2 #A226B0
tetradic
#B0A226 #26B05D #2634B0 #B02679
square
#B0A226 #26B05D #2634B0 #B02679
split-complementary
#B0A226 #2679B0 #5D26B0
monochromatic
#4B4510 #7E741B #B0A226 #D5C63E #E0D570

Accessibility & contrast

On white

2.61
#B0A226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B0A226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A226
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A226#FFFFFF#000000##000000
##B0A2261.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D04
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#BE968B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b0a226;
/* rgb */ color: rgb(176, 162, 38);
/* oklch */ color: oklch(70.3% 0.136 102.6);
Tailwind
colors: {
  custom: {
    50: '#ccbd6b',
    500: '#b0a226',
    950: '#000000',
  },
}
SCSS
$custom: #b0a226;
$custom-light: #ccbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a226",
  "rgb": {
    "r": 176,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 53.913,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70334,
    "c": 0.13638,
    "h": 102.6
  },
  "luminance": 0.35211
}

Semantic roles & 50–950 ramp

primary
#B0A226
secondary
#6B74C7
accent
#51E740
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0A226

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

Preview Lab → · Contrast checker → · Palette generator →

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