#B0A627#B0A627

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

Color values

HEX#B0A627
RGBrgb(176, 166, 39)
HSLhsl(56, 64%, 42%)
HSVhsv(56, 78%, 69%)
CMYKcmyk(0%, 5.7%, 77.8%, 31%)
CIE-LABlab(67.01, -10.32, 61.83)
CIE-LCHlch(67.01, 62.69, 99.47°)
OKLaboklab(71.21% -0.0353 0.1348)
OKLCHoklch(71.21% 0.139 104.7)
XYZxyz(31.9083, 36.6503, 7.3125)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A627 #2731B0
analogous
#B06127 #B0A627 #76B027
triadic
#B0A627 #27B0A6 #A627B0
tetradic
#B0A627 #27B061 #2731B0 #B02776
square
#B0A627 #27B061 #2731B0 #B02776
split-complementary
#B0A627 #2776B0 #6127B0
monochromatic
#4C4711 #7E771C #B0A627 #D5CA40 #E0D872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0A627#FFFFFF#000000##000000
##B0A6271.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)
#B5A004
Deuteranopia (green-blind)
#B9A631
Tritanopia (blue-blind)
#BE9A8E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b0a627;
/* rgb */ color: rgb(176, 166, 39);
/* oklch */ color: oklch(71.2% 0.139 104.7);
Tailwind
colors: {
  custom: {
    50: '#cbc06c',
    500: '#b0a627',
    950: '#000000',
  },
}
SCSS
$custom: #b0a627;
$custom-light: #cbc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a627",
  "rgb": {
    "r": 176,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 55.62,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71211,
    "c": 0.13932,
    "h": 104.7
  },
  "luminance": 0.36649
}

Semantic roles & 50–950 ramp

primary
#B0A627
secondary
#6C73C7
accent
#4DE741
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0A627

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

Preview Lab → · Contrast checker → · Palette generator →

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