#9A8928#9A8928

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

Color values

HEX#9A8928
RGBrgb(154, 137, 40)
HSLhsl(51, 59%, 38%)
HSVhsv(51, 74%, 60%)
CMYKcmyk(0%, 11%, 74%, 39.6%)
CIE-LABlab(56.99, -4.61, 51.37)
CIE-LCHlch(56.99, 51.58, 95.13°)
OKLaboklab(62.77% -0.0179 0.1136)
OKLCHoklch(62.77% 0.115 99)
XYZxyz(22.6562, 24.9157, 5.6229)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8928 #28399A
analogous
#9A5028 #9A8928 #729A28
triadic
#9A8928 #289A89 #89289A
tetradic
#9A8928 #289A50 #28399A #9A2872
square
#9A8928 #289A50 #28399A #9A2872
split-complementary
#9A8928 #28729A #50289A
monochromatic
#39330F #695E1B #9A8928 #CAB435 #D7C665

Accessibility & contrast

On white

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

On black

5.98
#9A8928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8928
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8928#FFFFFF#000000##000000
##9A89281.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978518
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#A67F76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a8928;
/* rgb */ color: rgb(154, 137, 40);
/* oklch */ color: oklch(62.8% 0.115 99.0);
Tailwind
colors: {
  custom: {
    50: '#bbab69',
    500: '#9a8928',
    950: '#000000',
  },
}
SCSS
$custom: #9a8928;
$custom-light: #bbab69;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8928",
  "rgb": {
    "r": 154,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 51.053,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6277,
    "c": 0.11503,
    "h": 99
  },
  "luminance": 0.24915
}

Semantic roles & 50–950 ramp

primary
#9A8928
secondary
#616FBD
accent
#5DE246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8928

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

Preview Lab → · Contrast checker → · Palette generator →

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