#9A8926#9A8926

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

Color values

HEX#9A8926
RGBrgb(154, 137, 38)
HSLhsl(51, 60%, 38%)
HSVhsv(51, 75%, 60%)
CMYKcmyk(0%, 11%, 75.3%, 39.6%)
CIE-LABlab(56.98, -4.70, 52.13)
CIE-LCHlch(56.98, 52.34, 95.16°)
OKLaboklab(62.76% -0.0184 0.1148)
OKLCHoklch(62.76% 0.116 99.1)
XYZxyz(22.6230, 24.9024, 5.4484)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8926 #26379A
analogous
#9A4F26 #9A8926 #719A26
triadic
#9A8926 #269A89 #89269A
tetradic
#9A8926 #269A4F #26379A #9A2671
square
#9A8926 #269A4F #26379A #9A2671
split-complementary
#9A8926 #26719A #4F269A
monochromatic
#38320E #695D1A #9A8926 #CBB532 #D8C762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A8926#FFFFFF#000000##000000
##9A89261.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)
#978514
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#A67E76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a8926;
/* rgb */ color: rgb(154, 137, 38);
/* oklch */ color: oklch(62.8% 0.116 99.1);
Tailwind
colors: {
  custom: {
    50: '#bbab68',
    500: '#9a8926',
    950: '#000000',
  },
}
SCSS
$custom: #9a8926;
$custom-light: #bbab68;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8926",
  "rgb": {
    "r": 154,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 51.207,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62756,
    "c": 0.1163,
    "h": 99.1
  },
  "luminance": 0.24901
}

Semantic roles & 50–950 ramp

primary
#9A8926
secondary
#5E6CBE
accent
#5CE444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A8926

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

Preview Lab → · Contrast checker → · Palette generator →

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