#B4AA4E#B4AA4E

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

Color values

HEX#B4AA4E
RGBrgb(180, 170, 78)
HSLhsl(54, 40%, 51%)
HSVhsv(54, 57%, 71%)
CMYKcmyk(0%, 5.6%, 56.7%, 29.4%)
CIE-LABlab(68.75, -8.40, 47.86)
CIE-LCHlch(68.75, 48.60, 99.95°)
OKLaboklab(72.77% -0.026 0.1113)
OKLCHoklch(72.77% 0.114 103.1)
XYZxyz(34.5734, 39.0040, 12.9136)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA4E #4E58B4
analogous
#B4774E #B4AA4E #8BB44E
triadic
#B4AA4E #4EB4AA #AA4EB4
tetradic
#B4AA4E #4EB477 #4E58B4 #B44E8B
square
#B4AA4E #4EB477 #4E58B4 #B44E8B
split-complementary
#B4AA4E #4E8BB4 #774EB4
monochromatic
#5F5A28 #8A823B #B4AA4E #C6BF79 #D8D3A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AA4E#FFFFFF#000000##000000
##B4AA4E1.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)
#B8A545
Deuteranopia (green-blind)
#BBAA53
Tritanopia (blue-blind)
#C0A096
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4aa4e;
/* rgb */ color: rgb(180, 170, 78);
/* oklch */ color: oklch(72.8% 0.114 103.1);
Tailwind
colors: {
  custom: {
    50: '#cdc383',
    500: '#b4aa4e',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa4e;
$custom-light: #cdc383;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa4e",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 78
  },
  "hsl": {
    "h": 54.118,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72774,
    "c": 0.11431,
    "h": 103.1
  },
  "luminance": 0.39003
}

Semantic roles & 50–950 ramp

primary
#B4AA4E
secondary
#989DC6
accent
#63D057
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4AA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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