#9A9031#9A9031

#9A9031 is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.4% C 0.115 H 103.3°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9A9031
RGBrgb(154, 144, 49)
HSLhsl(54, 52%, 40%)
HSVhsv(54, 68%, 60%)
CMYKcmyk(0%, 6.5%, 68.2%, 39.6%)
CIE-LABlab(59.01, -7.93, 49.72)
CIE-LCHlch(59.01, 50.34, 99.06°)
OKLaboklab(64.39% -0.0264 0.1118)
OKLCHoklch(64.39% 0.115 103.3)
XYZxyz(23.8550, 27.0392, 6.8677)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9031 #313B9A
analogous
#9A5C31 #9A9031 #6F9A31
triadic
#9A9031 #319A90 #90319A
tetradic
#9A9031 #319A5C #313B9A #9A316F
square
#9A9031 #319A5C #313B9A #9A316F
split-complementary
#9A9031 #316F9A #5C319A
monochromatic
#3D3913 #6C6522 #9A9031 #C4B845 #D2C973

Accessibility & contrast

On white

3.28
#9A9031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#9A9031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9031
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9031#FFFFFF#000000##000000
##9A90311.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B24
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#A6867D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9a9031;
/* rgb */ color: rgb(154, 144, 49);
/* oklch */ color: oklch(64.4% 0.115 103.3);
Tailwind
colors: {
  custom: {
    50: '#bbb06f',
    500: '#9a9031',
    950: '#000000',
  },
}
SCSS
$custom: #9a9031;
$custom-light: #bbb06f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9031",
  "rgb": {
    "r": 154,
    "g": 144,
    "b": 49
  },
  "hsl": {
    "h": 54.286,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64392,
    "c": 0.11484,
    "h": 103.3
  },
  "luminance": 0.27038
}

Semantic roles & 50–950 ramp

primary
#9A9031
secondary
#6C74BA
accent
#5ADB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9A9031

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

Preview Lab → · Contrast checker → · Palette generator →

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