#9CB12E#9CB12E

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

Color values

HEX#9CB12E
RGBrgb(156, 177, 46)
HSLhsl(70, 59%, 44%)
HSVhsv(70, 74%, 69%)
CMYKcmyk(11.9%, 0%, 74%, 30.6%)
CIE-LABlab(68.54, -24.25, 60.35)
CIE-LCHlch(68.54, 65.04, 111.89°)
OKLaboklab(72.05% -0.0724 0.1336)
OKLCHoklch(72.05% 0.152 118.5)
XYZxyz(29.9262, 38.7097, 8.4794)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB12E #432EB1
analogous
#B1842E #9CB12E #5AB12E
triadic
#9CB12E #2E9CB1 #B12E9C
tetradic
#9CB12E #2EB184 #432EB1 #B12E5A
square
#9CB12E #2EB184 #432EB1 #B12E5A
split-complementary
#9CB12E #2E5AB1 #842EB1
monochromatic
#465015 #718021 #9CB12E #BBD04C #CEDD7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB12E#FFFFFF#000000##000000
##9CB12E1.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)
#BDA713
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#A5A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9cb12e;
/* rgb */ color: rgb(156, 177, 46);
/* oklch */ color: oklch(72.1% 0.152 118.5);
Tailwind
colors: {
  custom: {
    50: '#bdc870',
    500: '#9cb12e',
    950: '#000000',
  },
}
SCSS
$custom: #9cb12e;
$custom-light: #bdc870;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb12e",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 69.618,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72051,
    "c": 0.15197,
    "h": 118.5
  },
  "luminance": 0.38709
}

Semantic roles & 50–950 ramp

primary
#9CB12E
secondary
#8275C6
accent
#46E25F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB12E

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

Preview Lab → · Contrast checker → · Palette generator →

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