#9CA52F#9CA52F

#9CA52F is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.3% C 0.138 H 113.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9CA52F
RGBrgb(156, 165, 47)
HSLhsl(65, 56%, 42%)
HSVhsv(65, 72%, 65%)
CMYKcmyk(5.5%, 0%, 71.5%, 35.3%)
CIE-LABlab(65.11, -18.19, 56.68)
CIE-LCHlch(65.11, 59.52, 107.79°)
OKLaboklab(69.3% -0.0555 0.126)
OKLCHoklch(69.3% 0.138 113.8)
XYZxyz(27.6793, 34.1840, 7.8288)
Luminance0.3418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA52F #382FA5
analogous
#A5732F #9CA52F #61A52F
triadic
#9CA52F #2F9CA5 #A52F9C
tetradic
#9CA52F #2FA573 #382FA5 #A52F61
square
#9CA52F #2FA573 #382FA5 #A52F61
split-complementary
#9CA52F #2F61A5 #732FA5
monochromatic
#424614 #6F7521 #9CA52F #C0CB47 #D1D876

Accessibility & contrast

On white

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

On black

7.84
#9CA52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA52F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA52F#FFFFFF#000000##000000
##9CA52F1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1A
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#A69B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca52f;
/* rgb */ color: rgb(156, 165, 47);
/* oklch */ color: oklch(69.3% 0.138 113.8);
Tailwind
colors: {
  custom: {
    50: '#bcbf70',
    500: '#9ca52f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca52f;
$custom-light: #bcbf70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca52f",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 64.576,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69297,
    "c": 0.13772,
    "h": 113.8
  },
  "luminance": 0.34183
}

Semantic roles & 50–950 ramp

primary
#9CA52F
secondary
#7670C0
accent
#49DF54
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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