#B5A246#B5A246

#B5A246 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.114 H 97.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B5A246
RGBrgb(181, 162, 70)
HSLhsl(50, 44%, 49%)
HSVhsv(50, 61%, 71%)
CMYKcmyk(0%, 10.5%, 61.3%, 29%)
CIE-LABlab(66.60, -4.33, 49.21)
CIE-LCHlch(66.60, 49.40, 95.03°)
OKLaboklab(71.06% -0.0153 0.1132)
OKLCHoklch(71.06% 0.114 97.7)
XYZxyz(33.0832, 36.1081, 11.0201)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A246 #4659B5
analogous
#B56B46 #B5A246 #91B546
triadic
#B5A246 #46B5A2 #A246B5
tetradic
#B5A246 #46B56B #4659B5 #B54691
square
#B5A246 #46B56B #4659B5 #B54691
split-complementary
#B5A246 #4691B5 #6B46B5
monochromatic
#5D5324 #897B35 #B5A246 #C8B970 #D9CF9C

Accessibility & contrast

On white

2.55
#B5A246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#B5A246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A246
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A246#FFFFFF#000000##000000
##B5A2461.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3C
Deuteranopia (green-blind)
#B6A54A
Tritanopia (blue-blind)
#C2978E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b5a246;
/* rgb */ color: rgb(181, 162, 70);
/* oklch */ color: oklch(71.1% 0.114 97.7);
Tailwind
colors: {
  custom: {
    50: '#cebd7d',
    500: '#b5a246',
    950: '#000000',
  },
}
SCSS
$custom: #b5a246;
$custom-light: #cebd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a246",
  "rgb": {
    "r": 181,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 49.73,
    "s": 44.223,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71063,
    "c": 0.1142,
    "h": 97.7
  },
  "luminance": 0.36107
}

Semantic roles & 50–950 ramp

primary
#B5A246
secondary
#929AC5
accent
#6AD454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B5A246

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

Preview Lab → · Contrast checker → · Palette generator →

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