#B0A726#B0A726

#B0A726 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.141 H 105.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B0A726
RGBrgb(176, 167, 38)
HSLhsl(56, 64%, 42%)
HSVhsv(56, 78%, 69%)
CMYKcmyk(0%, 5.1%, 78.4%, 31%)
CIE-LABlab(67.28, -10.88, 62.39)
CIE-LCHlch(67.28, 63.33, 99.89°)
OKLaboklab(71.42% -0.037 0.1358)
OKLCHoklch(71.42% 0.141 105.2)
XYZxyz(32.0745, 37.0087, 7.2872)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A726 #262FB0
analogous
#B06226 #B0A726 #74B026
triadic
#B0A726 #26B0A7 #A726B0
tetradic
#B0A726 #26B062 #262FB0 #B02674
square
#B0A726 #26B062 #262FB0 #B02674
split-complementary
#B0A726 #2674B0 #6226B0
monochromatic
#4B4710 #7E771B #B0A726 #D5CB3E #E0D970

Accessibility & contrast

On white

2.50
#B0A726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B0A726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A726
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A726#FFFFFF#000000##000000
##B0A7261.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B9A631
Tritanopia (blue-blind)
#BE9B8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b0a726;
/* rgb */ color: rgb(176, 167, 38);
/* oklch */ color: oklch(71.4% 0.141 105.2);
Tailwind
colors: {
  custom: {
    50: '#cbc06c',
    500: '#b0a726',
    950: '#000000',
  },
}
SCSS
$custom: #b0a726;
$custom-light: #cbc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a726",
  "rgb": {
    "r": 176,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 56.087,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71424,
    "c": 0.14071,
    "h": 105.2
  },
  "luminance": 0.37007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0A726

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

Preview Lab → · Contrast checker → · Palette generator →

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