#B0A229#B0A229

#B0A229 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.4% C 0.135 H 102.4°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B0A229
RGBrgb(176, 162, 41)
HSLhsl(54, 62%, 43%)
HSVhsv(54, 77%, 69%)
CMYKcmyk(0%, 8%, 76.7%, 31%)
CIE-LABlab(65.93, -8.13, 60.18)
CIE-LCHlch(65.93, 60.73, 97.70°)
OKLaboklab(70.35% -0.029 0.1316)
OKLCHoklch(70.35% 0.135 102.4)
XYZxyz(31.2265, 35.2322, 7.2531)
Luminance0.3523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A229 #2937B0
analogous
#B05F29 #B0A229 #7AB029
triadic
#B0A229 #29B0A2 #A229B0
tetradic
#B0A229 #29B05F #2937B0 #B0297A
square
#B0A229 #29B05F #2937B0 #B0297A
split-complementary
#B0A229 #297AB0 #5F29B0
monochromatic
#4D4712 #7E741D #B0A229 #D3C443 #DFD475

Accessibility & contrast

On white

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

On black

8.05
#B0A229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A229
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A229#FFFFFF#000000##000000
##B0A2291.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0a229;
/* rgb */ color: rgb(176, 162, 41);
/* oklch */ color: oklch(70.4% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#cbbd6d',
    500: '#b0a229',
    950: '#000000',
  },
}
SCSS
$custom: #b0a229;
$custom-light: #cbbd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a229",
  "rgb": {
    "r": 176,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 53.778,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70351,
    "c": 0.13479,
    "h": 102.4
  },
  "luminance": 0.35231
}

Semantic roles & 50–950 ramp

primary
#B0A229
secondary
#6F78C6
accent
#53E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0A229

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

Preview Lab → · Contrast checker → · Palette generator →

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