#B0A926#B0A926

#B0A926 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.9% C 0.143 H 106.3°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#B0A926
RGBrgb(176, 169, 38)
HSLhsl(57, 64%, 42%)
HSVhsv(57, 78%, 69%)
CMYKcmyk(0%, 4%, 78.4%, 31%)
CIE-LABlab(67.83, -11.92, 62.89)
CIE-LCHlch(67.83, 64.00, 100.73°)
OKLaboklab(71.86% -0.0399 0.1368)
OKLCHoklch(71.86% 0.143 106.3)
XYZxyz(32.4437, 37.7472, 7.4103)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A926 #262DB0
analogous
#B06426 #B0A926 #72B026
triadic
#B0A926 #26B0A9 #A926B0
tetradic
#B0A926 #26B064 #262DB0 #B02672
square
#B0A926 #26B064 #262DB0 #B02672
split-complementary
#B0A926 #2672B0 #6426B0
monochromatic
#4B4810 #7E791B #B0A926 #D5CE3E #E0DA70

Accessibility & contrast

On white

2.46
#B0A926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#B0A926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A926
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A926#FFFFFF#000000##000000
##B0A9261.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#BBA831
Tritanopia (blue-blind)
#BD9D91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b0a926;
/* rgb */ color: rgb(176, 169, 38);
/* oklch */ color: oklch(71.9% 0.143 106.3);
Tailwind
colors: {
  custom: {
    50: '#cbc26c',
    500: '#b0a926',
    950: '#000000',
  },
}
SCSS
$custom: #b0a926;
$custom-light: #cbc26c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a926",
  "rgb": {
    "r": 176,
    "g": 169,
    "b": 38
  },
  "hsl": {
    "h": 56.957,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71863,
    "c": 0.14252,
    "h": 106.3
  },
  "luminance": 0.37746
}

Semantic roles & 50–950 ramp

primary
#B0A926
secondary
#6B6FC7
accent
#49E740
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0A926

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

Preview Lab → · Contrast checker → · Palette generator →

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