#B5A13F#B5A13F

#B5A13F is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.119 H 97.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B5A13F
RGBrgb(181, 161, 63)
HSLhsl(50, 48%, 48%)
HSVhsv(50, 65%, 71%)
CMYKcmyk(0%, 11%, 65.2%, 29%)
CIE-LABlab(66.27, -4.26, 52.02)
CIE-LCHlch(66.27, 52.19, 94.68°)
OKLaboklab(70.78% -0.0159 0.1181)
OKLCHoklch(70.78% 0.119 97.7)
XYZxyz(32.6996, 35.6739, 9.8650)
Luminance0.3567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A13F #3F53B5
analogous
#B5663F #B5A13F #8EB53F
triadic
#B5A13F #3FB5A1 #A13FB5
tetradic
#B5A13F #3FB566 #3F53B5 #B53F8E
square
#B5A13F #3FB566 #3F53B5 #B53F8E
split-complementary
#B5A13F #3F8EB5 #663FB5
monochromatic
#5A501F #88792F #B5A13F #CAB967 #DACE94

Accessibility & contrast

On white

2.58
#B5A13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B5A13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A13F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A13F#FFFFFF#000000##000000
##B5A13F1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D33
Deuteranopia (green-blind)
#B6A444
Tritanopia (blue-blind)
#C3968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b5a13f;
/* rgb */ color: rgb(181, 161, 63);
/* oklch */ color: oklch(70.8% 0.119 97.7);
Tailwind
colors: {
  custom: {
    50: '#cebc79',
    500: '#b5a13f',
    950: '#000000',
  },
}
SCSS
$custom: #b5a13f;
$custom-light: #cebc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a13f",
  "rgb": {
    "r": 181,
    "g": 161,
    "b": 63
  },
  "hsl": {
    "h": 49.831,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7078,
    "c": 0.11918,
    "h": 97.7
  },
  "luminance": 0.35672
}

Semantic roles & 50–950 ramp

primary
#B5A13F
secondary
#8A94C5
accent
#67D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A13F

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

Preview Lab → · Contrast checker → · Palette generator →

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