#9CB12F#9CB12F

#9CB12F is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.1% C 0.151 H 118.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#9CB12F
RGBrgb(156, 177, 47)
HSLhsl(70, 58%, 44%)
HSVhsv(70, 73%, 69%)
CMYKcmyk(11.9%, 0%, 73.4%, 30.6%)
CIE-LABlab(68.55, -24.19, 60.01)
CIE-LCHlch(68.55, 64.70, 111.96°)
OKLaboklab(72.06% -0.0722 0.1331)
OKLCHoklch(72.06% 0.151 118.5)
XYZxyz(29.9462, 38.7177, 8.5845)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB12F #442FB1
analogous
#B1852F #9CB12F #5BB12F
triadic
#9CB12F #2F9CB1 #B12F9C
tetradic
#9CB12F #2FB185 #442FB1 #B12F5B
square
#9CB12F #2FB185 #442FB1 #B12F5B
split-complementary
#9CB12F #2F5BB1 #852FB1
monochromatic
#475015 #718122 #9CB12F #BBD04D #CDDD7E

Accessibility & contrast

On white

2.40
#9CB12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#9CB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB12F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB12F#FFFFFF#000000##000000
##9CB12F1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA715
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#A5A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9cb12f;
/* rgb */ color: rgb(156, 177, 47);
/* oklch */ color: oklch(72.1% 0.151 118.5);
Tailwind
colors: {
  custom: {
    50: '#bdc871',
    500: '#9cb12f',
    950: '#000000',
  },
}
SCSS
$custom: #9cb12f;
$custom-light: #bdc871;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb12f",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 69.692,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72057,
    "c": 0.15138,
    "h": 118.5
  },
  "luminance": 0.38717
}

Semantic roles & 50–950 ramp

primary
#9CB12F
secondary
#8376C5
accent
#47E160
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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