#9A8A26#9A8A26

#9A8A26 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 63.0% C 0.117 H 99.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9A8A26
RGBrgb(154, 138, 38)
HSLhsl(52, 60%, 38%)
HSVhsv(52, 75%, 60%)
CMYKcmyk(0%, 10.4%, 75.3%, 39.6%)
CIE-LABlab(57.26, -5.25, 52.39)
CIE-LCHlch(57.26, 52.66, 95.72°)
OKLaboklab(62.98% -0.02 0.1154)
OKLCHoklch(62.98% 0.117 99.8)
XYZxyz(22.7659, 25.1880, 5.4960)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A26 #26369A
analogous
#9A5026 #9A8A26 #709A26
triadic
#9A8A26 #269A8A #8A269A
tetradic
#9A8A26 #269A50 #26369A #9A2670
square
#9A8A26 #269A50 #26369A #9A2670
split-complementary
#9A8A26 #26709A #50269A
monochromatic
#38320E #695E1A #9A8A26 #CBB632 #D8C862

Accessibility & contrast

On white

3.48
#9A8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#9A8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8A26
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8A26#FFFFFF#000000##000000
##9A8A261.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988614
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#A68077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a8a26;
/* rgb */ color: rgb(154, 138, 38);
/* oklch */ color: oklch(63.0% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#bbab68',
    500: '#9a8a26',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a26;
$custom-light: #bbab68;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a26",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 51.724,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62976,
    "c": 0.11711,
    "h": 99.8
  },
  "luminance": 0.25187
}

Semantic roles & 50–950 ramp

primary
#9A8A26
secondary
#5E6BBE
accent
#5AE444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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