#9B8A4E#9B8A4E

#9B8A4E is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.082 H 94.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9B8A4E
RGBrgb(155, 138, 78)
HSLhsl(47, 33%, 46%)
HSVhsv(47, 50%, 61%)
CMYKcmyk(0%, 11%, 49.7%, 39.2%)
CIE-LABlab(57.75, -1.93, 34.28)
CIE-LCHlch(57.75, 34.33, 93.22°)
OKLaboklab(63.51% -0.0058 0.0821)
OKLCHoklch(63.51% 0.082 94)
XYZxyz(23.9820, 25.6966, 10.9029)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8A4E #4E5F9B
analogous
#9B634E #9B8A4E #859B4E
triadic
#9B8A4E #4E9B8A #8A4E9B
tetradic
#9B8A4E #4E9B63 #4E5F9B #9B4E85
square
#9B8A4E #4E9B63 #4E5F9B #9B4E85
split-complementary
#9B8A4E #4E859B #634E9B
monochromatic
#4A4225 #72663A #9B8A4E #B7A76F #CBC098

Accessibility & contrast

On white

3.42
#9B8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9B8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8A4E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8A4E#FFFFFF#000000##000000
##9B8A4E1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958849
Deuteranopia (green-blind)
#9A8D50
Tritanopia (blue-blind)
#A5827C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b8a4e;
/* rgb */ color: rgb(155, 138, 78);
/* oklch */ color: oklch(63.5% 0.082 94.0);
Tailwind
colors: {
  custom: {
    50: '#baac81',
    500: '#9b8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #9b8a4e;
$custom-light: #baac81;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8a4e",
  "rgb": {
    "r": 155,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 46.753,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.63513,
    "c": 0.08232,
    "h": 94
  },
  "luminance": 0.25696
}

Semantic roles & 50–950 ramp

primary
#9B8A4E
secondary
#8D96B8
accent
#76C95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9B8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

#9B8A4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva