#9CBA2F#9CBA2F

#9CBA2F is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 74.1% C 0.162 H 121.3°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#9CBA2F
RGBrgb(156, 186, 47)
HSLhsl(73, 60%, 46%)
HSVhsv(73, 75%, 73%)
CMYKcmyk(16.1%, 0%, 74.7%, 27.1%)
CIE-LABlab(71.14, -28.56, 62.49)
CIE-LCHlch(71.14, 68.70, 114.56°)
OKLaboklab(74.15% -0.0842 0.1383)
OKLCHoklch(74.15% 0.162 121.3)
XYZxyz(31.7828, 42.3910, 9.1967)
Luminance0.4239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CBA2F #4D2FBA
analogous
#BA932F #9CBA2F #56BA2F
triadic
#9CBA2F #2F9CBA #BA2F9C
tetradic
#9CBA2F #2FBA93 #4D2FBA #BA2F56
square
#9CBA2F #2FBA93 #4D2FBA #BA2F56
split-complementary
#9CBA2F #2F56BA #932FBA
monochromatic
#4A5816 #738923 #9CBA2F #B8D353 #CCE084

Accessibility & contrast

On white

2.22
#9CBA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#9CBA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CBA2F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CBA2F#FFFFFF#000000##000000
##9CBA2F1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF10
Deuteranopia (green-blind)
#C2AE3C
Tritanopia (blue-blind)
#A5B0A0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9cba2f;
/* rgb */ color: rgb(156, 186, 47);
/* oklch */ color: oklch(74.1% 0.162 121.3);
Tailwind
colors: {
  custom: {
    50: '#bdce72',
    500: '#9cba2f',
    950: '#000000',
  },
}
SCSS
$custom: #9cba2f;
$custom-light: #bdce72;
$custom-dark: #000000;
JSON
{
  "hex": "#9cba2f",
  "rgb": {
    "r": 156,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 72.95,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74147,
    "c": 0.16189,
    "h": 121.3
  },
  "luminance": 0.42391
}

Semantic roles & 50–950 ramp

primary
#9CBA2F
secondary
#8C7CC9
accent
#45E367
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CBA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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