#B5AA3F#B5AA3F

#B5AA3F is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.127 H 103.4°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B5AA3F
RGBrgb(181, 170, 63)
HSLhsl(54, 48%, 48%)
HSVhsv(54, 65%, 71%)
CMYKcmyk(0%, 6.1%, 65.2%, 29%)
CIE-LABlab(68.70, -9.02, 54.59)
CIE-LCHlch(68.70, 55.33, 99.38°)
OKLaboklab(72.71% -0.0295 0.1236)
OKLCHoklch(72.71% 0.127 103.4)
XYZxyz(34.3293, 38.9334, 10.4083)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA3F #3F4AB5
analogous
#B56F3F #B5AA3F #85B53F
triadic
#B5AA3F #3FB5AA #AA3FB5
tetradic
#B5AA3F #3FB56F #3F4AB5 #B53F85
square
#B5AA3F #3FB56F #3F4AB5 #B53F85
split-complementary
#B5AA3F #3F85B5 #6F3FB5
monochromatic
#5A551F #887F2F #B5AA3F #CAC167 #DAD394

Accessibility & contrast

On white

2.39
#B5AA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#B5AA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA3F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA3F#FFFFFF#000000##000000
##B5AA3F1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A531
Deuteranopia (green-blind)
#BCAA45
Tritanopia (blue-blind)
#C29F94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b5aa3f;
/* rgb */ color: rgb(181, 170, 63);
/* oklch */ color: oklch(72.7% 0.127 103.4);
Tailwind
colors: {
  custom: {
    50: '#cec379',
    500: '#b5aa3f',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa3f;
$custom-light: #cec379;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa3f",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 54.407,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7271,
    "c": 0.12704,
    "h": 103.4
  },
  "luminance": 0.38932
}

Semantic roles & 50–950 ramp

primary
#B5AA3F
secondary
#8A90C5
accent
#5DD850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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