#B0A127#B0A127

#B0A127 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.135 H 101.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B0A127
RGBrgb(176, 161, 39)
HSLhsl(53, 64%, 42%)
HSVhsv(53, 78%, 69%)
CMYKcmyk(0%, 8.5%, 77.8%, 31%)
CIE-LABlab(65.65, -7.68, 60.59)
CIE-LCHlch(65.65, 61.07, 97.23°)
OKLaboklab(70.12% -0.0279 0.1321)
OKLCHoklch(70.12% 0.135 101.9)
XYZxyz(31.0170, 34.8677, 7.0154)
Luminance0.3487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A127 #2736B0
analogous
#B05D27 #B0A127 #7AB027
triadic
#B0A127 #27B0A1 #A127B0
tetradic
#B0A127 #27B05D #2736B0 #B0277A
square
#B0A127 #27B05D #2736B0 #B0277A
split-complementary
#B0A127 #277AB0 #5D27B0
monochromatic
#4C4511 #7E731C #B0A127 #D5C440 #E0D472

Accessibility & contrast

On white

2.63
#B0A127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#B0A127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A127
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A127#FFFFFF#000000##000000
##B0A1271.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C08
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#BE958A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b0a127;
/* rgb */ color: rgb(176, 161, 39);
/* oklch */ color: oklch(70.1% 0.135 101.9);
Tailwind
colors: {
  custom: {
    50: '#ccbc6c',
    500: '#b0a127',
    950: '#000000',
  },
}
SCSS
$custom: #b0a127;
$custom-light: #ccbc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a127",
  "rgb": {
    "r": 176,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 53.431,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70123,
    "c": 0.13502,
    "h": 101.9
  },
  "luminance": 0.34866
}

Semantic roles & 50–950 ramp

primary
#B0A127
secondary
#6C76C7
accent
#53E741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B0A127

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

Preview Lab → · Contrast checker → · Palette generator →

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