#9CB262#9CB262

#9CB262 is a light, moderate yellow-green. Relative luminance 0.398; OKLCH L 72.8% C 0.109 H 121.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#9CB262
RGBrgb(156, 178, 98)
HSLhsl(77, 34%, 54%)
HSVhsv(77, 45%, 70%)
CMYKcmyk(12.4%, 0%, 44.9%, 30.2%)
CIE-LABlab(69.32, -20.52, 38.25)
CIE-LCHlch(69.32, 43.41, 118.22°)
OKLaboklab(72.84% -0.0571 0.0923)
OKLCHoklch(72.84% 0.109 121.7)
XYZxyz(31.8353, 39.7905, 17.5561)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB262 #7862B2
analogous
#B2A062 #9CB262 #74B262
triadic
#9CB262 #629CB2 #B2629C
tetradic
#9CB262 #62B2A0 #7862B2 #B26274
square
#9CB262 #62B2A0 #7862B2 #B26274
split-complementary
#9CB262 #6274B2 #A062B2
monochromatic
#596733 #7C9047 #9CB262 #B6C68B #D0DAB4

Accessibility & contrast

On white

2.34
#9CB262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#9CB262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB262
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB262#FFFFFF#000000##000000
##9CB2621.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAA5B
Deuteranopia (green-blind)
#B8A966
Tritanopia (blue-blind)
#A2AB9F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb262;
/* rgb */ color: rgb(156, 178, 98);
/* oklch */ color: oklch(72.8% 0.109 121.7);
Tailwind
colors: {
  custom: {
    50: '#bac990',
    500: '#9cb262',
    950: '#000000',
  },
}
SCSS
$custom: #9cb262;
$custom-light: #bac990;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb262",
  "rgb": {
    "r": 156,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 76.5,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.72836,
    "c": 0.10858,
    "h": 121.7
  },
  "luminance": 0.39791
}

Semantic roles & 50–950 ramp

primary
#9CB262
secondary
#B0A7C9
accent
#5ECA7B
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130D
muted
#81827D

Preview Lab

Preview with #9CB262

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

Preview Lab → · Contrast checker → · Palette generator →

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