#B5A149#B5A149

#B5A149 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.111 H 96.6°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B5A149
RGBrgb(181, 161, 73)
HSLhsl(49, 43%, 50%)
HSVhsv(49, 60%, 71%)
CMYKcmyk(0%, 11%, 59.7%, 29%)
CIE-LABlab(66.36, -3.58, 47.54)
CIE-LCHlch(66.36, 47.68, 94.30°)
OKLaboklab(70.88% -0.0128 0.11)
OKLCHoklch(70.88% 0.111 96.6)
XYZxyz(33.0049, 35.7960, 11.4729)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A149 #495DB5
analogous
#B56B49 #B5A149 #93B549
triadic
#B5A149 #49B5A1 #A149B5
tetradic
#B5A149 #49B56B #495DB5 #B54993
square
#B5A149 #49B56B #495DB5 #B54993
split-complementary
#B5A149 #4993B5 #6B49B5
monochromatic
#5E5326 #897A37 #B5A149 #C7B874 #D9CEA0

Accessibility & contrast

On white

2.57
#B5A149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B5A149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A149
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A149#FFFFFF#000000##000000
##B5A1491.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E40
Deuteranopia (green-blind)
#B5A44D
Tritanopia (blue-blind)
#C2968E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b5a149;
/* rgb */ color: rgb(181, 161, 73);
/* oklch */ color: oklch(70.9% 0.111 96.6);
Tailwind
colors: {
  custom: {
    50: '#cebc7f',
    500: '#b5a149',
    950: '#000000',
  },
}
SCSS
$custom: #b5a149;
$custom-light: #cebc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a149",
  "rgb": {
    "r": 181,
    "g": 161,
    "b": 73
  },
  "hsl": {
    "h": 48.889,
    "s": 42.52,
    "l": 49.804
  },
  "oklch": {
    "l": 0.70884,
    "c": 0.11073,
    "h": 96.6
  },
  "luminance": 0.35795
}

Semantic roles & 50–950 ramp

primary
#B5A149
secondary
#949EC5
accent
#6DD255
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B5A149

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

Preview Lab → · Contrast checker → · Palette generator →

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