#9A8A30#9A8A30

#9A8A30 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.110 H 99.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9A8A30
RGBrgb(154, 138, 48)
HSLhsl(51, 52%, 40%)
HSVhsv(51, 69%, 60%)
CMYKcmyk(0%, 10.4%, 68.8%, 39.6%)
CIE-LABlab(57.33, -4.73, 48.41)
CIE-LCHlch(57.33, 48.64, 95.57°)
OKLaboklab(63.06% -0.0174 0.1089)
OKLCHoklch(63.06% 0.11 99.1)
XYZxyz(22.9494, 25.2614, 6.4628)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A30 #30409A
analogous
#9A5530 #9A8A30 #759A30
triadic
#9A8A30 #309A8A #8A309A
tetradic
#9A8A30 #309A55 #30409A #9A3075
square
#9A8A30 #309A55 #30409A #9A3075
split-complementary
#9A8A30 #30759A #55309A
monochromatic
#3D3613 #6B6021 #9A8A30 #C4B143 #D3C472

Accessibility & contrast

On white

3.47
#9A8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#9A8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8A30
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8A30#FFFFFF#000000##000000
##9A8A301.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978624
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#A68078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a8a30;
/* rgb */ color: rgb(154, 138, 48);
/* oklch */ color: oklch(63.1% 0.110 99.1);
Tailwind
colors: {
  custom: {
    50: '#bbab6d',
    500: '#9a8a30',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a30;
$custom-light: #bbab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a30",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 50.943,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63055,
    "c": 0.11023,
    "h": 99.1
  },
  "luminance": 0.2526
}

Semantic roles & 50–950 ramp

primary
#9A8A30
secondary
#6B77BB
accent
#62DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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