#B9AB4E#B9AB4E

#B9AB4E is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.115 H 100.8°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#B9AB4E
RGBrgb(185, 171, 78)
HSLhsl(52, 43%, 52%)
HSVhsv(52, 58%, 73%)
CMYKcmyk(0%, 7.6%, 57.8%, 27.5%)
CIE-LABlab(69.46, -6.79, 48.79)
CIE-LCHlch(69.46, 49.26, 97.93°)
OKLaboklab(73.44% -0.0217 0.1132)
OKLCHoklch(73.44% 0.115 100.8)
XYZxyz(35.9469, 39.9916, 13.0319)
Luminance0.3999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AB4E #4E5CB9
analogous
#B9764E #B9AB4E #92B94E
triadic
#B9AB4E #4EB9AB #AB4EB9
tetradic
#B9AB4E #4EB976 #4E5CB9 #B94E92
square
#B9AB4E #4EB976 #4E5CB9 #B94E92
split-complementary
#B9AB4E #4E92B9 #764EB9
monochromatic
#655D28 #918539 #B9AB4E #CAC07A #DCD5A6

Accessibility & contrast

On white

2.33
#B9AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#B9AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AB4E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AB4E#FFFFFF#000000##000000
##B9AB4E1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A645
Deuteranopia (green-blind)
#BDAC53
Tritanopia (blue-blind)
#C6A096
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b9ab4e;
/* rgb */ color: rgb(185, 171, 78);
/* oklch */ color: oklch(73.4% 0.115 100.8);
Tailwind
colors: {
  custom: {
    50: '#d0c383',
    500: '#b9ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #b9ab4e;
$custom-light: #d0c383;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ab4e",
  "rgb": {
    "r": 185,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 52.15,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73443,
    "c": 0.11526,
    "h": 100.8
  },
  "luminance": 0.3999
}

Semantic roles & 50–950 ramp

primary
#B9AB4E
secondary
#9AA0C9
accent
#65D355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B9AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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