#9CA52A#9CA52A

#9CA52A is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.3% C 0.141 H 113.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9CA52A
RGBrgb(156, 165, 42)
HSLhsl(64, 59%, 41%)
HSVhsv(64, 75%, 65%)
CMYKcmyk(5.5%, 0%, 74.5%, 35.3%)
CIE-LABlab(65.08, -18.44, 58.44)
CIE-LCHlch(65.08, 61.28, 107.51°)
OKLaboklab(69.26% -0.0567 0.1289)
OKLCHoklch(69.26% 0.141 113.7)
XYZxyz(27.5842, 34.1459, 7.3278)
Luminance0.3414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA52A #332AA5
analogous
#A5702A #9CA52A #5EA52A
triadic
#9CA52A #2A9CA5 #A52A9C
tetradic
#9CA52A #2AA570 #332AA5 #A52A5E
square
#9CA52A #2AA570 #332AA5 #A52A5E
split-complementary
#9CA52A #2A5EA5 #702AA5
monochromatic
#404311 #6E741E #9CA52A #C3CE3E #D3DA6F

Accessibility & contrast

On white

2.68
#9CA52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#9CA52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA52A
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA52A#FFFFFF#000000##000000
##9CA52A1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D0F
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#A79B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca52a;
/* rgb */ color: rgb(156, 165, 42);
/* oklch */ color: oklch(69.3% 0.141 113.7);
Tailwind
colors: {
  custom: {
    50: '#bdbf6d',
    500: '#9ca52a',
    950: '#000000',
  },
}
SCSS
$custom: #9ca52a;
$custom-light: #bdbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca52a",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 64.39,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69263,
    "c": 0.14078,
    "h": 113.7
  },
  "luminance": 0.34145
}

Semantic roles & 50–950 ramp

primary
#9CA52A
secondary
#7069C1
accent
#45E351
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA52A

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

Preview Lab → · Contrast checker → · Palette generator →

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