#9A8A24#9A8A24

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

Color values

HEX#9A8A24
RGBrgb(154, 138, 36)
HSLhsl(52, 62%, 37%)
HSVhsv(52, 77%, 60%)
CMYKcmyk(0%, 10.4%, 76.6%, 39.6%)
CIE-LABlab(57.25, -5.34, 53.12)
CIE-LCHlch(57.25, 53.39, 95.74°)
OKLaboklab(62.96% -0.0204 0.1165)
OKLCHoklch(62.96% 0.118 100)
XYZxyz(22.7344, 25.1755, 5.3306)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A24 #24349A
analogous
#9A4F24 #9A8A24 #6F9A24
triadic
#9A8A24 #249A8A #8A249A
tetradic
#9A8A24 #249A4F #24349A #9A246F
square
#9A8A24 #249A4F #24349A #9A246F
split-complementary
#9A8A24 #246F9A #4F249A
monochromatic
#37310D #685E18 #9A8A24 #CCB630 #DAC95F

Accessibility & contrast

On white

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

On black

6.03
#9A8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8A24
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8A24#FFFFFF#000000##000000
##9A8A241.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a8a24;
/* rgb */ color: rgb(154, 138, 36);
/* oklch */ color: oklch(63.0% 0.118 100.0);
Tailwind
colors: {
  custom: {
    50: '#bbab67',
    500: '#9a8a24',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a24;
$custom-light: #bbab67;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a24",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 51.864,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62963,
    "c": 0.11832,
    "h": 100
  },
  "luminance": 0.25174
}

Semantic roles & 50–950 ramp

primary
#9A8A24
secondary
#5B69BF
accent
#59E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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