#9CA22E#9CA22E

#9CA22E is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.135 H 112.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9CA22E
RGBrgb(156, 162, 46)
HSLhsl(63, 56%, 41%)
HSVhsv(63, 72%, 64%)
CMYKcmyk(3.7%, 0%, 71.6%, 36.5%)
CIE-LABlab(64.25, -16.70, 56.21)
CIE-LCHlch(64.25, 58.64, 106.55°)
OKLaboklab(68.61% -0.0515 0.1249)
OKLCHoklch(68.61% 0.135 112.4)
XYZxyz(27.1246, 33.1065, 7.5456)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA22E #342EA2
analogous
#A26E2E #9CA22E #62A22E
triadic
#9CA22E #2E9CA2 #A22E9C
tetradic
#9CA22E #2EA26E #342EA2 #A22E62
square
#9CA22E #2EA26E #342EA2 #A22E62
split-complementary
#9CA22E #2E62A2 #6E2EA2
monochromatic
#404313 #6E7220 #9CA22E #C3CA43 #D2D773

Accessibility & contrast

On white

2.76
#9CA22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#9CA22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA22E
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA22E#FFFFFF#000000##000000
##9CA22E1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#A7988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca22e;
/* rgb */ color: rgb(156, 162, 46);
/* oklch */ color: oklch(68.6% 0.135 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd6f',
    500: '#9ca22e',
    950: '#000000',
  },
}
SCSS
$custom: #9ca22e;
$custom-light: #bcbd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca22e",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 63.103,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68605,
    "c": 0.13507,
    "h": 112.4
  },
  "luminance": 0.33106
}

Semantic roles & 50–950 ramp

primary
#9CA22E
secondary
#716DBF
accent
#49DF50
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA22E

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

Preview Lab → · Contrast checker → · Palette generator →

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