#B0A225#B0A225

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

Color values

HEX#B0A225
RGBrgb(176, 162, 37)
HSLhsl(54, 65%, 42%)
HSVhsv(54, 79%, 69%)
CMYKcmyk(0%, 8%, 79%, 31%)
CIE-LABlab(65.91, -8.29, 61.47)
CIE-LCHlch(65.91, 62.03, 97.68°)
OKLaboklab(70.33% -0.0298 0.1336)
OKLCHoklch(70.33% 0.137 102.6)
XYZxyz(31.1602, 35.2057, 6.9040)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A225 #2533B0
analogous
#B05D25 #B0A225 #79B025
triadic
#B0A225 #25B0A2 #A225B0
tetradic
#B0A225 #25B05D #2533B0 #B02579
square
#B0A225 #25B05D #2533B0 #B02579
split-complementary
#B0A225 #2579B0 #5D25B0
monochromatic
#4B4510 #7D731A #B0A225 #D6C73C #E1D56F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0A225#FFFFFF#000000##000000
##B0A2251.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)
#B29D01
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#BE968B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b0a225;
/* rgb */ color: rgb(176, 162, 37);
/* oklch */ color: oklch(70.3% 0.137 102.6);
Tailwind
colors: {
  custom: {
    50: '#ccbd6b',
    500: '#b0a225',
    950: '#000000',
  },
}
SCSS
$custom: #b0a225;
$custom-light: #ccbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a225",
  "rgb": {
    "r": 176,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 53.957,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70328,
    "c": 0.13688,
    "h": 102.6
  },
  "luminance": 0.35204
}

Semantic roles & 50–950 ramp

primary
#B0A225
secondary
#6A73C7
accent
#51E840
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0A225

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

Preview Lab → · Contrast checker → · Palette generator →

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