#B0A538#B0A538

#B0A538 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.1% C 0.128 H 103.5°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B0A538
RGBrgb(176, 165, 56)
HSLhsl(55, 52%, 45%)
HSVhsv(55, 68%, 69%)
CMYKcmyk(0%, 6.2%, 68.2%, 31%)
CIE-LABlab(66.85, -8.98, 55.45)
CIE-LCHlch(66.85, 56.17, 99.20°)
OKLaboklab(71.11% -0.0299 0.1244)
OKLCHoklch(71.11% 0.128 103.5)
XYZxyz(32.0747, 36.4272, 9.0822)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A538 #3843B0
analogous
#B06938 #B0A538 #7FB038
triadic
#B0A538 #38B0A5 #A538B0
tetradic
#B0A538 #38B069 #3843B0 #B0387F
square
#B0A538 #38B069 #3843B0 #B0387F
split-complementary
#B0A538 #387FB0 #6938B0
monochromatic
#534E1A #827929 #B0A538 #CBC05B #D9D289

Accessibility & contrast

On white

2.53
#B0A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#B0A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A538
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A538#FFFFFF#000000##000000
##B0A5381.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A029
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#BD9A8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b0a538;
/* rgb */ color: rgb(176, 165, 56);
/* oklch */ color: oklch(71.1% 0.128 103.5);
Tailwind
colors: {
  custom: {
    50: '#cbbf75',
    500: '#b0a538',
    950: '#000000',
  },
}
SCSS
$custom: #b0a538;
$custom-light: #cbbf75;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a538",
  "rgb": {
    "r": 176,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 54.5,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7111,
    "c": 0.12791,
    "h": 103.5
  },
  "luminance": 0.36426
}

Semantic roles & 50–950 ramp

primary
#B0A538
secondary
#8086C4
accent
#5ADB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B0A538

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

Preview Lab → · Contrast checker → · Palette generator →

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