#B5AA45#B5AA45

#B5AA45 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.8% C 0.122 H 103.1°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#B5AA45
RGBrgb(181, 170, 69)
HSLhsl(54, 45%, 49%)
HSVhsv(54, 62%, 71%)
CMYKcmyk(0%, 6.1%, 61.9%, 29%)
CIE-LABlab(68.75, -8.63, 52.03)
CIE-LCHlch(68.75, 52.74, 99.42°)
OKLaboklab(72.77% -0.0277 0.119)
OKLCHoklch(72.77% 0.122 103.1)
XYZxyz(34.5062, 39.0042, 11.3400)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA45 #4550B5
analogous
#B57245 #B5AA45 #88B545
triadic
#B5AA45 #45B5AA #AA45B5
tetradic
#B5AA45 #45B572 #4550B5 #B54588
square
#B5AA45 #45B572 #4550B5 #B54588
split-complementary
#B5AA45 #4588B5 #7245B5
monochromatic
#5C5723 #898034 #B5AA45 #C8BF6F #D9D39B

Accessibility & contrast

On white

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

On black

8.80
#B5AA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA45
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA45#FFFFFF#000000##000000
##B5AA451.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5aa45;
/* rgb */ color: rgb(181, 170, 69);
/* oklch */ color: oklch(72.8% 0.122 103.1);
Tailwind
colors: {
  custom: {
    50: '#cec37d',
    500: '#b5aa45',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa45;
$custom-light: #cec37d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa45",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 69
  },
  "hsl": {
    "h": 54.107,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72767,
    "c": 0.12221,
    "h": 103.1
  },
  "luminance": 0.39003
}

Semantic roles & 50–950 ramp

primary
#B5AA45
secondary
#9196C5
accent
#60D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B5AA45

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

Preview Lab → · Contrast checker → · Palette generator →

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