#9A892F#9A892F

#9A892F is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.110 H 98.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9A892F
RGBrgb(154, 137, 47)
HSLhsl(50, 53%, 39%)
HSVhsv(50, 69%, 60%)
CMYKcmyk(0%, 11%, 69.5%, 39.6%)
CIE-LABlab(57.04, -4.24, 48.55)
CIE-LCHlch(57.04, 48.73, 94.99°)
OKLaboklab(62.83% -0.0161 0.109)
OKLCHoklch(62.83% 0.11 98.4)
XYZxyz(22.7862, 24.9677, 6.3078)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A892F #2F409A
analogous
#9A532F #9A892F #769A2F
triadic
#9A892F #2F9A89 #892F9A
tetradic
#9A892F #2F9A53 #2F409A #9A2F76
square
#9A892F #2F9A53 #2F409A #9A2F76
split-complementary
#9A892F #2F769A #532F9A
monochromatic
#3C3612 #6B5F21 #9A892F #C5B041 #D3C470

Accessibility & contrast

On white

3.50
#9A892F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9A892F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A892F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A892F#FFFFFF#000000##000000
##9A892F1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968623
Deuteranopia (green-blind)
#9B8B34
Tritanopia (blue-blind)
#A67F77
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a892f;
/* rgb */ color: rgb(154, 137, 47);
/* oklch */ color: oklch(62.8% 0.110 98.4);
Tailwind
colors: {
  custom: {
    50: '#bbab6d',
    500: '#9a892f',
    950: '#000000',
  },
}
SCSS
$custom: #9a892f;
$custom-light: #bbab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a892f",
  "rgb": {
    "r": 154,
    "g": 137,
    "b": 47
  },
  "hsl": {
    "h": 50.467,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62826,
    "c": 0.11014,
    "h": 98.4
  },
  "luminance": 0.24967
}

Semantic roles & 50–950 ramp

primary
#9A892F
secondary
#6A77BB
accent
#62DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A892F

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

Preview Lab → · Contrast checker → · Palette generator →

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