#B5AA3D#B5AA3D

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

Color values

HEX#B5AA3D
RGBrgb(181, 170, 61)
HSLhsl(55, 50%, 47%)
HSVhsv(55, 66%, 71%)
CMYKcmyk(0%, 6.1%, 66.3%, 29%)
CIE-LABlab(68.69, -9.14, 55.42)
CIE-LCHlch(68.69, 56.17, 99.37°)
OKLaboklab(72.69% -0.0301 0.125)
OKLCHoklch(72.69% 0.129 103.5)
XYZxyz(34.2744, 38.9115, 10.1192)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA3D #3D48B5
analogous
#B56E3D #B5AA3D #84B53D
triadic
#B5AA3D #3DB5AA #AA3DB5
tetradic
#B5AA3D #3DB56E #3D48B5 #B53D84
square
#B5AA3D #3DB56E #3D48B5 #B53D84
split-complementary
#B5AA3D #3D84B5 #6E3DB5
monochromatic
#59541E #877F2E #B5AA3D #CBC164 #DAD492

Accessibility & contrast

On white

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

On black

8.78
#B5AA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA3D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA3D#FFFFFF#000000##000000
##B5AA3D1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5aa3d;
/* rgb */ color: rgb(181, 170, 61);
/* oklch */ color: oklch(72.7% 0.129 103.5);
Tailwind
colors: {
  custom: {
    50: '#cec378',
    500: '#b5aa3d',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa3d;
$custom-light: #cec378;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa3d",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 61
  },
  "hsl": {
    "h": 54.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72692,
    "c": 0.12855,
    "h": 103.5
  },
  "luminance": 0.3891
}

Semantic roles & 50–950 ramp

primary
#B5AA3D
secondary
#888EC5
accent
#5BD94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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