#9A8D30#9A8D30

#9A8D30 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.7% C 0.113 H 101.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9A8D30
RGBrgb(154, 141, 48)
HSLhsl(53, 52%, 40%)
HSVhsv(53, 69%, 60%)
CMYKcmyk(0%, 8.4%, 68.8%, 39.6%)
CIE-LABlab(58.16, -6.36, 49.27)
CIE-LCHlch(58.16, 49.68, 97.36°)
OKLaboklab(63.72% -0.022 0.1107)
OKLCHoklch(63.72% 0.113 101.3)
XYZxyz(23.3858, 26.1342, 6.6083)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8D30 #303D9A
analogous
#9A5830 #9A8D30 #729A30
triadic
#9A8D30 #309A8D #8D309A
tetradic
#9A8D30 #309A58 #303D9A #9A3072
square
#9A8D30 #309A58 #303D9A #9A3072
split-complementary
#9A8D30 #30729A #58309A
monochromatic
#3D3813 #6B6221 #9A8D30 #C4B443 #D3C772

Accessibility & contrast

On white

3.37
#9A8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#9A8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8D30
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8D30#FFFFFF#000000##000000
##9A8D301.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8923
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#A6837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a8d30;
/* rgb */ color: rgb(154, 141, 48);
/* oklch */ color: oklch(63.7% 0.113 101.3);
Tailwind
colors: {
  custom: {
    50: '#bbae6e',
    500: '#9a8d30',
    950: '#000000',
  },
}
SCSS
$custom: #9a8d30;
$custom-light: #bbae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8d30",
  "rgb": {
    "r": 154,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 52.642,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63718,
    "c": 0.11283,
    "h": 101.3
  },
  "luminance": 0.26133
}

Semantic roles & 50–950 ramp

primary
#9A8D30
secondary
#6B75BB
accent
#5EDC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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