#B0A526#B0A526

#B0A526 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.0% C 0.139 H 104.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#B0A526
RGBrgb(176, 165, 38)
HSLhsl(55, 64%, 42%)
HSVhsv(55, 78%, 69%)
CMYKcmyk(0%, 6.2%, 78.4%, 31%)
CIE-LABlab(66.73, -9.83, 61.90)
CIE-LCHlch(66.73, 62.67, 99.02°)
OKLaboklab(70.99% -0.0341 0.1347)
OKLCHoklch(70.99% 0.139 104.2)
XYZxyz(31.7109, 36.2816, 7.1660)
Luminance0.3628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A526 #2631B0
analogous
#B06026 #B0A526 #76B026
triadic
#B0A526 #26B0A5 #A526B0
tetradic
#B0A526 #26B060 #2631B0 #B02676
square
#B0A526 #26B060 #2631B0 #B02676
split-complementary
#B0A526 #2676B0 #6026B0
monochromatic
#4B4710 #7E761B #B0A526 #D5C93E #E0D770

Accessibility & contrast

On white

2.54
#B0A526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#B0A526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A526
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A526#FFFFFF#000000##000000
##B0A5261.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F02
Deuteranopia (green-blind)
#B8A530
Tritanopia (blue-blind)
#BE998D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b0a526;
/* rgb */ color: rgb(176, 165, 38);
/* oklch */ color: oklch(71.0% 0.139 104.2);
Tailwind
colors: {
  custom: {
    50: '#ccbf6c',
    500: '#b0a526',
    950: '#000000',
  },
}
SCSS
$custom: #b0a526;
$custom-light: #ccbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a526",
  "rgb": {
    "r": 176,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 55.217,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70987,
    "c": 0.13894,
    "h": 104.2
  },
  "luminance": 0.3628
}

Semantic roles & 50–950 ramp

primary
#B0A526
secondary
#6B72C7
accent
#4EE740
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0A526

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

Preview Lab → · Contrast checker → · Palette generator →

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