#B5A045#B5A045

#B5A045 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.113 H 96.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#B5A045
RGBrgb(181, 160, 69)
HSLhsl(49, 45%, 49%)
HSVhsv(49, 62%, 71%)
CMYKcmyk(0%, 11.6%, 61.9%, 29%)
CIE-LABlab(66.06, -3.33, 49.07)
CIE-LCHlch(66.06, 49.18, 93.88°)
OKLaboklab(70.63% -0.0125 0.1127)
OKLCHoklch(70.63% 0.113 96.4)
XYZxyz(32.7024, 35.3966, 10.7387)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A045 #455AB5
analogous
#B56845 #B5A045 #92B545
triadic
#B5A045 #45B5A0 #A045B5
tetradic
#B5A045 #45B568 #455AB5 #B54592
square
#B5A045 #45B568 #455AB5 #B54592
split-complementary
#B5A045 #4592B5 #6845B5
monochromatic
#5C5223 #897934 #B5A045 #C8B76F #D9CD9B

Accessibility & contrast

On white

2.60
#B5A045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#B5A045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A045
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A045#FFFFFF#000000##000000
##B5A0451.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3B
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#C2958C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b5a045;
/* rgb */ color: rgb(181, 160, 69);
/* oklch */ color: oklch(70.6% 0.113 96.4);
Tailwind
colors: {
  custom: {
    50: '#cebb7c',
    500: '#b5a045',
    950: '#000000',
  },
}
SCSS
$custom: #b5a045;
$custom-light: #cebb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a045",
  "rgb": {
    "r": 181,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 48.75,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70628,
    "c": 0.11343,
    "h": 96.4
  },
  "luminance": 0.35395
}

Semantic roles & 50–950 ramp

primary
#B5A045
secondary
#919AC5
accent
#6CD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14110A
muted
#83807C

Preview Lab

Preview with #B5A045

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

Preview Lab → · Contrast checker → · Palette generator →

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