#9CAF22#9CAF22

#9CAF22 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.5% C 0.156 H 117.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#9CAF22
RGBrgb(156, 175, 34)
HSLhsl(68, 67%, 41%)
HSVhsv(68, 81%, 69%)
CMYKcmyk(10.9%, 0%, 80.6%, 31.4%)
CIE-LABlab(67.91, -23.78, 63.52)
CIE-LCHlch(67.91, 67.82, 110.53°)
OKLaboklab(71.52% -0.0721 0.1383)
OKLCHoklch(71.52% 0.156 117.5)
XYZxyz(29.3298, 37.8437, 7.2725)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAF22 #3522AF
analogous
#AF7B22 #9CAF22 #55AF22
triadic
#9CAF22 #229CAF #AF229C
tetradic
#9CAF22 #22AF7B #3522AF #AF2255
square
#9CAF22 #22AF7B #3522AF #AF2255
split-complementary
#9CAF22 #2255AF #7B22AF
monochromatic
#41490E #6E7C18 #9CAF22 #C2D836 #D2E269

Accessibility & contrast

On white

2.45
#9CAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#9CAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAF22
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAF22#FFFFFF#000000##000000
##9CAF221.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B9A630
Tritanopia (blue-blind)
#A6A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9caf22;
/* rgb */ color: rgb(156, 175, 34);
/* oklch */ color: oklch(71.5% 0.156 117.5);
Tailwind
colors: {
  custom: {
    50: '#bdc66b',
    500: '#9caf22',
    950: '#000000',
  },
}
SCSS
$custom: #9caf22;
$custom-light: #bdc66b;
$custom-dark: #000000;
JSON
{
  "hex": "#9caf22",
  "rgb": {
    "r": 156,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 68.085,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71521,
    "c": 0.15591,
    "h": 117.5
  },
  "luminance": 0.37843
}

Semantic roles & 50–950 ramp

primary
#9CAF22
secondary
#7265C8
accent
#3DEA55
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9CAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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