#B0A028#B0A028

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

Color values

HEX#B0A028
RGBrgb(176, 160, 40)
HSLhsl(53, 63%, 42%)
HSVhsv(53, 77%, 69%)
CMYKcmyk(0%, 9.1%, 77.3%, 31%)
CIE-LABlab(65.38, -7.11, 60.01)
CIE-LCHlch(65.38, 60.43, 96.76°)
OKLaboklab(69.91% -0.0263 0.1311)
OKLCHoklch(69.91% 0.134 101.3)
XYZxyz(30.8598, 34.5264, 7.0458)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A028 #2838B0
analogous
#B05C28 #B0A028 #7CB028
triadic
#B0A028 #28B0A0 #A028B0
tetradic
#B0A028 #28B05C #2838B0 #B0287C
square
#B0A028 #28B05C #2838B0 #B0287C
split-complementary
#B0A028 #287CB0 #5C28B0
monochromatic
#4C4511 #7E731D #B0A028 #D4C341 #DFD373

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0A028#FFFFFF#000000##000000
##B0A0281.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)
#B09B0C
Deuteranopia (green-blind)
#B4A231
Tritanopia (blue-blind)
#BE9489
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b0a028;
/* rgb */ color: rgb(176, 160, 40);
/* oklch */ color: oklch(69.9% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#cbbb6c',
    500: '#b0a028',
    950: '#000000',
  },
}
SCSS
$custom: #b0a028;
$custom-light: #cbbb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a028",
  "rgb": {
    "r": 176,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 52.941,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69912,
    "c": 0.13367,
    "h": 101.3
  },
  "luminance": 0.34525
}

Semantic roles & 50–950 ramp

primary
#B0A028
secondary
#6D78C6
accent
#55E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B0A028

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

Preview Lab → · Contrast checker → · Palette generator →

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