#9CA62A#9CA62A

#9CA62A is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.5% C 0.142 H 114.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9CA62A
RGBrgb(156, 166, 42)
HSLhsl(65, 60%, 41%)
HSVhsv(65, 75%, 65%)
CMYKcmyk(6%, 0%, 74.7%, 34.9%)
CIE-LABlab(65.36, -18.95, 58.71)
CIE-LCHlch(65.36, 61.69, 107.89°)
OKLaboklab(69.49% -0.0581 0.1294)
OKLCHoklch(69.49% 0.142 114.2)
XYZxyz(27.7653, 34.5081, 7.3881)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA62A #342AA6
analogous
#A6722A #9CA62A #5EA62A
triadic
#9CA62A #2A9CA6 #A62A9C
tetradic
#9CA62A #2AA672 #342AA6 #A62A5E
square
#9CA62A #2AA672 #342AA6 #A62A5E
split-complementary
#9CA62A #2A5EA6 #722AA6
monochromatic
#404411 #6E751E #9CA62A #C3CE3F #D2DB70

Accessibility & contrast

On white

2.66
#9CA62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#9CA62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA62A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA62A#FFFFFF#000000##000000
##9CA62A1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E0F
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#A79C8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca62a;
/* rgb */ color: rgb(156, 166, 42);
/* oklch */ color: oklch(69.5% 0.142 114.2);
Tailwind
colors: {
  custom: {
    50: '#bdc06d',
    500: '#9ca62a',
    950: '#000000',
  },
}
SCSS
$custom: #9ca62a;
$custom-light: #bdc06d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca62a",
  "rgb": {
    "r": 156,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 64.839,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69492,
    "c": 0.14188,
    "h": 114.2
  },
  "luminance": 0.34508
}

Semantic roles & 50–950 ramp

primary
#9CA62A
secondary
#716AC2
accent
#45E352
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA62A

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

Preview Lab → · Contrast checker → · Palette generator →

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