#9A8024#9A8024

#9A8024 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.8% C 0.111 H 92.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9A8024
RGBrgb(154, 128, 36)
HSLhsl(47, 62%, 37%)
HSVhsv(47, 77%, 60%)
CMYKcmyk(0%, 16.9%, 76.6%, 39.6%)
CIE-LABlab(54.49, 0.19, 50.52)
CIE-LCHlch(54.49, 50.52, 89.79°)
OKLaboklab(60.78% -0.0047 0.111)
OKLCHoklch(60.78% 0.111 92.5)
XYZxyz(21.3652, 22.4370, 4.8742)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8024 #243E9A
analogous
#9A4524 #9A8024 #799A24
triadic
#9A8024 #249A80 #80249A
tetradic
#9A8024 #249A45 #243E9A #9A2479
square
#9A8024 #249A45 #243E9A #9A2479
split-complementary
#9A8024 #24799A #45249A
monochromatic
#372E0D #685718 #9A8024 #CCA930 #DABF5F

Accessibility & contrast

On white

3.83
#9A8024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#9A8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8024
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8024#FFFFFF#000000##000000
##9A80241.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E14
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#A7756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9a8024;
/* rgb */ color: rgb(154, 128, 36);
/* oklch */ color: oklch(60.8% 0.111 92.5);
Tailwind
colors: {
  custom: {
    50: '#bca466',
    500: '#9a8024',
    950: '#000000',
  },
}
SCSS
$custom: #9a8024;
$custom-light: #bca466;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8024",
  "rgb": {
    "r": 154,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 46.78,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60779,
    "c": 0.11109,
    "h": 92.5
  },
  "luminance": 0.22436
}

Semantic roles & 50–950 ramp

primary
#9A8024
secondary
#5B71BF
accent
#66E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8024

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

Preview Lab → · Contrast checker → · Palette generator →

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