#9CA822#9CA822

#9CA822 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.9% C 0.148 H 114.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9CA822
RGBrgb(156, 168, 34)
HSLhsl(65, 66%, 40%)
HSVhsv(65, 80%, 66%)
CMYKcmyk(7.1%, 0%, 79.8%, 34.1%)
CIE-LABlab(65.90, -20.30, 61.73)
CIE-LCHlch(65.90, 64.98, 108.20°)
OKLaboklab(69.91% -0.0625 0.1344)
OKLCHoklch(69.91% 0.148 114.9)
XYZxyz(28.0025, 35.1892, 6.8301)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA822 #2E22A8
analogous
#A87122 #9CA822 #59A822
triadic
#9CA822 #229CA8 #A8229C
tetradic
#9CA822 #22A871 #2E22A8 #A82259
square
#9CA822 #22A871 #2E22A8 #A82259
split-complementary
#9CA822 #2259A8 #7122A8
monochromatic
#3D420D #6D7518 #9CA822 #C7D532 #D5E065

Accessibility & contrast

On white

2.61
#9CA822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9CA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA822
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA822#FFFFFF#000000##000000
##9CA8221.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B4A12F
Tritanopia (blue-blind)
#A79E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ca822;
/* rgb */ color: rgb(156, 168, 34);
/* oklch */ color: oklch(69.9% 0.148 114.9);
Tailwind
colors: {
  custom: {
    50: '#bdc16a',
    500: '#9ca822',
    950: '#000000',
  },
}
SCSS
$custom: #9ca822;
$custom-light: #bdc16a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca822",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 65.373,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69906,
    "c": 0.14824,
    "h": 114.9
  },
  "luminance": 0.35189
}

Semantic roles & 50–950 ramp

primary
#9CA822
secondary
#6A61C5
accent
#3FE94E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA822

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

Preview Lab → · Contrast checker → · Palette generator →

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