#B5AA4E#B5AA4E

#B5AA4E is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.114 H 102.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B5AA4E
RGBrgb(181, 170, 78)
HSLhsl(54, 41%, 51%)
HSVhsv(54, 57%, 71%)
CMYKcmyk(0%, 6.1%, 56.9%, 29%)
CIE-LABlab(68.84, -7.97, 47.99)
CIE-LCHlch(68.84, 48.64, 99.43°)
OKLaboklab(72.87% -0.0248 0.1116)
OKLCHoklch(72.87% 0.114 102.5)
XYZxyz(34.8071, 39.1245, 12.9246)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AA4E #4E59B5
analogous
#B5764E #B5AA4E #8CB54E
triadic
#B5AA4E #4EB5AA #AA4EB5
tetradic
#B5AA4E #4EB576 #4E59B5 #B54E8C
square
#B5AA4E #4EB576 #4E59B5 #B54E8C
split-complementary
#B5AA4E #4E8CB5 #764EB5
monochromatic
#605A28 #8B833A #B5AA4E #C7BF79 #D9D3A4

Accessibility & contrast

On white

2.38
#B5AA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#B5AA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AA4E
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AA4E#FFFFFF#000000##000000
##B5AA4E1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A545
Deuteranopia (green-blind)
#BBAA53
Tritanopia (blue-blind)
#C1A096
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b5aa4e;
/* rgb */ color: rgb(181, 170, 78);
/* oklch */ color: oklch(72.9% 0.114 102.5);
Tailwind
colors: {
  custom: {
    50: '#cec383',
    500: '#b5aa4e',
    950: '#000000',
  },
}
SCSS
$custom: #b5aa4e;
$custom-light: #cec383;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aa4e",
  "rgb": {
    "r": 181,
    "g": 170,
    "b": 78
  },
  "hsl": {
    "h": 53.592,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72865,
    "c": 0.11428,
    "h": 102.5
  },
  "luminance": 0.39123
}

Semantic roles & 50–950 ramp

primary
#B5AA4E
secondary
#999DC6
accent
#64D157
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B5AA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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