#9A8F22#9A8F22

#9A8F22 is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.124 H 103.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9A8F22
RGBrgb(154, 143, 34)
HSLhsl(55, 64%, 37%)
HSVhsv(55, 78%, 60%)
CMYKcmyk(0%, 7.1%, 77.9%, 39.6%)
CIE-LABlab(58.63, -8.14, 55.11)
CIE-LCHlch(58.63, 55.71, 98.40°)
OKLaboklab(64.06% -0.0285 0.1204)
OKLCHoklch(64.06% 0.124 103.3)
XYZxyz(23.4387, 26.6314, 5.4188)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8F22 #222D9A
analogous
#9A5322 #9A8F22 #699A22
triadic
#9A8F22 #229A8F #8F229A
tetradic
#9A8F22 #229A53 #222D9A #9A2269
square
#9A8F22 #229A53 #222D9A #9A2269
split-complementary
#9A8F22 #22699A #53229A
monochromatic
#36320C #686017 #9A8F22 #CCBE2D #DBCF5B

Accessibility & contrast

On white

3.32
#9A8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#9A8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8F22
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8F22#FFFFFF#000000##000000
##9A8F221.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A08
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#A6857A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9a8f22;
/* rgb */ color: rgb(154, 143, 34);
/* oklch */ color: oklch(64.1% 0.124 103.3);
Tailwind
colors: {
  custom: {
    50: '#bbaf67',
    500: '#9a8f22',
    950: '#000000',
  },
}
SCSS
$custom: #9a8f22;
$custom-light: #bbaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8f22",
  "rgb": {
    "r": 154,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 54.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6406,
    "c": 0.12371,
    "h": 103.3
  },
  "luminance": 0.2663
}

Semantic roles & 50–950 ramp

primary
#9A8F22
secondary
#5862BF
accent
#50E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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