#B5A035#B5A035

#B5A035 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.5% C 0.126 H 97.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B5A035
RGBrgb(181, 160, 53)
HSLhsl(50, 55%, 46%)
HSVhsv(50, 71%, 71%)
CMYKcmyk(0%, 11.6%, 70.7%, 29%)
CIE-LABlab(65.92, -4.30, 55.88)
CIE-LCHlch(65.92, 56.05, 94.40°)
OKLaboklab(70.48% -0.0172 0.1246)
OKLCHoklch(70.48% 0.126 97.9)
XYZxyz(32.2710, 35.2240, 8.4666)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A035 #354AB5
analogous
#B56035 #B5A035 #8AB535
triadic
#B5A035 #35B5A0 #A035B5
tetradic
#B5A035 #35B560 #354AB5 #B5358A
square
#B5A035 #35B560 #354AB5 #B5358A
split-complementary
#B5A035 #358AB5 #6035B5
monochromatic
#564C19 #867627 #B5A035 #CEBB59 #DCCE88

Accessibility & contrast

On white

2.61
#B5A035 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B5A035 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A035
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A035#FFFFFF#000000##000000
##B5A0351.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C25
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#C3948A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b5a035;
/* rgb */ color: rgb(181, 160, 53);
/* oklch */ color: oklch(70.5% 0.126 97.9);
Tailwind
colors: {
  custom: {
    50: '#cfbb73',
    500: '#b5a035',
    950: '#000000',
  },
}
SCSS
$custom: #b5a035;
$custom-light: #cfbb73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a035",
  "rgb": {
    "r": 181,
    "g": 160,
    "b": 53
  },
  "hsl": {
    "h": 50.156,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70479,
    "c": 0.12577,
    "h": 97.9
  },
  "luminance": 0.35222
}

Semantic roles & 50–950 ramp

primary
#B5A035
secondary
#808BC6
accent
#62DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B5A035

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

Preview Lab → · Contrast checker → · Palette generator →

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