#9A892A#9A892A

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

Color values

HEX#9A892A
RGBrgb(154, 137, 42)
HSLhsl(51, 57%, 38%)
HSVhsv(51, 73%, 60%)
CMYKcmyk(0%, 11%, 72.7%, 39.6%)
CIE-LABlab(57.01, -4.51, 50.59)
CIE-LCHlch(57.01, 50.79, 95.09°)
OKLaboklab(62.79% -0.0174 0.1124)
OKLCHoklch(62.79% 0.114 98.8)
XYZxyz(22.6911, 24.9296, 5.8067)
Luminance0.2493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A892A #2A3B9A
analogous
#9A512A #9A892A #739A2A
triadic
#9A892A #2A9A89 #892A9A
tetradic
#9A892A #2A9A51 #2A3B9A #9A2A73
square
#9A892A #2A9A51 #2A3B9A #9A2A73
split-complementary
#9A892A #2A739A #512A9A
monochromatic
#3A3310 #6A5E1D #9A892A #C9B338 #D6C568

Accessibility & contrast

On white

3.51
#9A892A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A892A#FFFFFF#000000##000000
##9A892A1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97851B
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#A67F76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a892a;
/* rgb */ color: rgb(154, 137, 42);
/* oklch */ color: oklch(62.8% 0.114 98.8);
Tailwind
colors: {
  custom: {
    50: '#bbab6a',
    500: '#9a892a',
    950: '#000000',
  },
}
SCSS
$custom: #9a892a;
$custom-light: #bbab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a892a",
  "rgb": {
    "r": 154,
    "g": 137,
    "b": 42
  },
  "hsl": {
    "h": 50.893,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62785,
    "c": 0.11371,
    "h": 98.8
  },
  "luminance": 0.24929
}

Semantic roles & 50–950 ramp

primary
#9A892A
secondary
#6371BC
accent
#5FE047
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A892A

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

Preview Lab → · Contrast checker → · Palette generator →

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