#9CA722#9CA722

#9CA722 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.7% C 0.147 H 114.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9CA722
RGBrgb(156, 167, 34)
HSLhsl(65, 66%, 39%)
HSVhsv(65, 80%, 65%)
CMYKcmyk(6.6%, 0%, 79.6%, 34.5%)
CIE-LABlab(65.61, -19.79, 61.48)
CIE-LCHlch(65.61, 64.58, 107.85°)
OKLaboklab(69.68% -0.0611 0.1339)
OKLCHoklch(69.68% 0.147 114.5)
XYZxyz(27.8186, 34.8214, 6.7688)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA722 #2D22A7
analogous
#A76F22 #9CA722 #5AA722
triadic
#9CA722 #229CA7 #A7229C
tetradic
#9CA722 #22A76F #2D22A7 #A7225A
square
#9CA722 #22A76F #2D22A7 #A7225A
split-complementary
#9CA722 #225AA7 #6F22A7
monochromatic
#3D410D #6D7418 #9CA722 #C8D531 #D5DF64

Accessibility & contrast

On white

2.64
#9CA722 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#9CA722 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA722
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA722#FFFFFF#000000##000000
##9CA7221.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B3A02F
Tritanopia (blue-blind)
#A79D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca722;
/* rgb */ color: rgb(156, 167, 34);
/* oklch */ color: oklch(69.7% 0.147 114.5);
Tailwind
colors: {
  custom: {
    50: '#bdc16a',
    500: '#9ca722',
    950: '#000000',
  },
}
SCSS
$custom: #9ca722;
$custom-light: #bdc16a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca722",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 34
  },
  "hsl": {
    "h": 64.962,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69676,
    "c": 0.14717,
    "h": 114.5
  },
  "luminance": 0.34821
}

Semantic roles & 50–950 ramp

primary
#9CA722
secondary
#6860C5
accent
#3FE94D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA722

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

Preview Lab → · Contrast checker → · Palette generator →

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