#B8AA4E#B8AA4E

#B8AA4E is a light, moderate yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.114 H 100.8°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#B8AA4E
RGBrgb(184, 170, 78)
HSLhsl(52, 43%, 51%)
HSVhsv(52, 58%, 72%)
CMYKcmyk(0%, 7.6%, 57.6%, 27.8%)
CIE-LABlab(69.11, -6.69, 48.36)
CIE-LCHlch(69.11, 48.82, 97.88°)
OKLaboklab(73.14% -0.0213 0.1123)
OKLCHoklch(73.14% 0.114 100.8)
XYZxyz(35.5183, 39.4912, 12.9579)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA4E #4E5CB8
analogous
#B8754E #B8AA4E #91B84E
triadic
#B8AA4E #4EB8AA #AA4EB8
tetradic
#B8AA4E #4EB875 #4E5CB8 #B84E91
square
#B8AA4E #4EB875 #4E5CB8 #B84E91
split-complementary
#B8AA4E #4E91B8 #754EB8
monochromatic
#645C28 #8F8439 #B8AA4E #CABF7A #DBD4A5

Accessibility & contrast

On white

2.36
#B8AA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#B8AA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AA4E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AA4E#FFFFFF#000000##000000
##B8AA4E1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A545
Deuteranopia (green-blind)
#BCAB52
Tritanopia (blue-blind)
#C59F96
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8aa4e;
/* rgb */ color: rgb(184, 170, 78);
/* oklch */ color: oklch(73.1% 0.114 100.8);
Tailwind
colors: {
  custom: {
    50: '#d0c383',
    500: '#b8aa4e',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa4e;
$custom-light: #d0c383;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa4e",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 78
  },
  "hsl": {
    "h": 52.075,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73138,
    "c": 0.1143,
    "h": 100.8
  },
  "luminance": 0.3949
}

Semantic roles & 50–950 ramp

primary
#B8AA4E
secondary
#9AA0C8
accent
#66D355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8AA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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