#B0A626#B0A626

#B0A626 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.2% C 0.140 H 104.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#B0A626
RGBrgb(176, 166, 38)
HSLhsl(56, 64%, 42%)
HSVhsv(56, 78%, 69%)
CMYKcmyk(0%, 5.7%, 78.4%, 31%)
CIE-LABlab(67.01, -10.35, 62.14)
CIE-LCHlch(67.01, 63.00, 99.46°)
OKLaboklab(71.21% -0.0355 0.1352)
OKLCHoklch(71.21% 0.14 104.7)
XYZxyz(31.8920, 36.6438, 7.2264)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A626 #2630B0
analogous
#B06126 #B0A626 #75B026
triadic
#B0A626 #26B0A6 #A626B0
tetradic
#B0A626 #26B061 #2630B0 #B02675
square
#B0A626 #26B061 #2630B0 #B02675
split-complementary
#B0A626 #2675B0 #6126B0
monochromatic
#4B4710 #7E771B #B0A626 #D5CA3E #E0D870

Accessibility & contrast

On white

2.52
#B0A626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#B0A626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A626
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A626#FFFFFF#000000##000000
##B0A6261.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A001
Deuteranopia (green-blind)
#B9A630
Tritanopia (blue-blind)
#BE9A8E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b0a626;
/* rgb */ color: rgb(176, 166, 38);
/* oklch */ color: oklch(71.2% 0.140 104.7);
Tailwind
colors: {
  custom: {
    50: '#cbc06c',
    500: '#b0a626',
    950: '#000000',
  },
}
SCSS
$custom: #b0a626;
$custom-light: #cbc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a626",
  "rgb": {
    "r": 176,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 55.652,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71205,
    "c": 0.13982,
    "h": 104.7
  },
  "luminance": 0.36642
}

Semantic roles & 50–950 ramp

primary
#B0A626
secondary
#6B71C7
accent
#4CE740
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0A626

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

Preview Lab → · Contrast checker → · Palette generator →

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