#B0A027#B0A027

#B0A027 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.9% C 0.134 H 101.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#B0A027
RGBrgb(176, 160, 39)
HSLhsl(53, 64%, 42%)
HSVhsv(53, 78%, 69%)
CMYKcmyk(0%, 9.1%, 77.8%, 31%)
CIE-LABlab(65.37, -7.15, 60.34)
CIE-LCHlch(65.37, 60.76, 96.76°)
OKLaboklab(69.91% -0.0265 0.1316)
OKLCHoklch(69.91% 0.134 101.4)
XYZxyz(30.8430, 34.5196, 6.9574)
Luminance0.3452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A027 #2737B0
analogous
#B05C27 #B0A027 #7BB027
triadic
#B0A027 #27B0A0 #A027B0
tetradic
#B0A027 #27B05C #2737B0 #B0277B
square
#B0A027 #27B05C #2737B0 #B0277B
split-complementary
#B0A027 #277BB0 #5C27B0
monochromatic
#4C4511 #7E721C #B0A027 #D5C340 #E0D372

Accessibility & contrast

On white

2.66
#B0A027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#B0A027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A027
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A027#FFFFFF#000000##000000
##B0A0271.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B09
Deuteranopia (green-blind)
#B4A230
Tritanopia (blue-blind)
#BE9489
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b0a027;
/* rgb */ color: rgb(176, 160, 39);
/* oklch */ color: oklch(69.9% 0.134 101.4);
Tailwind
colors: {
  custom: {
    50: '#ccbb6c',
    500: '#b0a027',
    950: '#000000',
  },
}
SCSS
$custom: #b0a027;
$custom-light: #ccbb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a027",
  "rgb": {
    "r": 176,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 52.993,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69906,
    "c": 0.1342,
    "h": 101.4
  },
  "luminance": 0.34518
}

Semantic roles & 50–950 ramp

primary
#B0A027
secondary
#6C77C7
accent
#54E741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B0A027

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

Preview Lab → · Contrast checker → · Palette generator →

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