#9CA12C#9CA12C

#9CA12C is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.135 H 111.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9CA12C
RGBrgb(156, 161, 44)
HSLhsl(63, 57%, 40%)
HSVhsv(63, 73%, 63%)
CMYKcmyk(3.1%, 0%, 72.7%, 36.9%)
CIE-LABlab(63.95, -16.29, 56.65)
CIE-LCHlch(63.95, 58.95, 106.04°)
OKLaboklab(68.36% -0.0505 0.1255)
OKLCHoklch(68.36% 0.135 111.9)
XYZxyz(26.9107, 32.7402, 7.2843)
Luminance0.3274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA12C #312CA1
analogous
#A16B2C #9CA12C #62A12C
triadic
#9CA12C #2C9CA1 #A12C9C
tetradic
#9CA12C #2CA16B #312CA1 #A12C62
square
#9CA12C #2CA16B #312CA1 #A12C62
split-complementary
#9CA12C #2C62A1 #6B2CA1
monochromatic
#3F4112 #6D711F #9CA12C #C5CB40 #D3D870

Accessibility & contrast

On white

2.78
#9CA12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#9CA12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA12C
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA12C#FFFFFF#000000##000000
##9CA12C1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9916
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#A7978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca12c;
/* rgb */ color: rgb(156, 161, 44);
/* oklch */ color: oklch(68.4% 0.135 111.9);
Tailwind
colors: {
  custom: {
    50: '#bcbc6e',
    500: '#9ca12c',
    950: '#000000',
  },
}
SCSS
$custom: #9ca12c;
$custom-light: #bcbc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca12c",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 62.564,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68363,
    "c": 0.13525,
    "h": 111.9
  },
  "luminance": 0.3274
}

Semantic roles & 50–950 ramp

primary
#9CA12C
secondary
#6D6ABF
accent
#47E04E
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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