#9A9130#9A9130

#9A9130 is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.6% C 0.117 H 104.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9A9130
RGBrgb(154, 145, 48)
HSLhsl(55, 52%, 40%)
HSVhsv(55, 69%, 60%)
CMYKcmyk(0%, 5.8%, 68.8%, 39.6%)
CIE-LABlab(59.28, -8.53, 50.42)
CIE-LCHlch(59.28, 51.13, 99.60°)
OKLaboklab(64.61% -0.0282 0.1131)
OKLCHoklch(64.61% 0.117 104)
XYZxyz(23.9863, 27.3352, 6.8085)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9130 #30399A
analogous
#9A5C30 #9A9130 #6E9A30
triadic
#9A9130 #309A91 #91309A
tetradic
#9A9130 #309A5C #30399A #9A306E
square
#9A9130 #309A5C #30399A #9A306E
split-complementary
#9A9130 #306E9A #5C309A
monochromatic
#3D3913 #6B6521 #9A9130 #C4B943 #D3CB72

Accessibility & contrast

On white

3.25
#9A9130 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#9A9130 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9130
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9130#FFFFFF#000000##000000
##9A91301.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C22
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#A5877D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9a9130;
/* rgb */ color: rgb(154, 145, 48);
/* oklch */ color: oklch(64.6% 0.117 104.0);
Tailwind
colors: {
  custom: {
    50: '#bbb16e',
    500: '#9a9130',
    950: '#000000',
  },
}
SCSS
$custom: #9a9130;
$custom-light: #bbb16e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9130",
  "rgb": {
    "r": 154,
    "g": 145,
    "b": 48
  },
  "hsl": {
    "h": 54.906,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64607,
    "c": 0.11654,
    "h": 104
  },
  "luminance": 0.27334
}

Semantic roles & 50–950 ramp

primary
#9A9130
secondary
#6B72BB
accent
#58DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A9130

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

Preview Lab → · Contrast checker → · Palette generator →

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