#9CA12E#9CA12E

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

Color values

HEX#9CA12E
RGBrgb(156, 161, 46)
HSLhsl(63, 56%, 41%)
HSVhsv(63, 71%, 63%)
CMYKcmyk(3.1%, 0%, 71.4%, 36.9%)
CIE-LABlab(63.96, -16.19, 55.93)
CIE-LCHlch(63.96, 58.22, 106.14°)
OKLaboklab(68.38% -0.05 0.1243)
OKLCHoklch(68.38% 0.134 111.9)
XYZxyz(26.9492, 32.7556, 7.4871)
Luminance0.3276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA12E #332EA1
analogous
#A16C2E #9CA12E #62A12E
triadic
#9CA12E #2E9CA1 #A12E9C
tetradic
#9CA12E #2EA16C #332EA1 #A12E62
square
#9CA12E #2EA16C #332EA1 #A12E62
split-complementary
#9CA12E #2E62A1 #6C2EA1
monochromatic
#404213 #6E7120 #9CA12E #C3C943 #D3D773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA12E#FFFFFF#000000##000000
##9CA12E1.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)
#AD9A1A
Deuteranopia (green-blind)
#AE9C37
Tritanopia (blue-blind)
#A7978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca12e;
/* rgb */ color: rgb(156, 161, 46);
/* oklch */ color: oklch(68.4% 0.134 111.9);
Tailwind
colors: {
  custom: {
    50: '#bcbc6f',
    500: '#9ca12e',
    950: '#000000',
  },
}
SCSS
$custom: #9ca12e;
$custom-light: #bcbc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca12e",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 62.609,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68377,
    "c": 0.13399,
    "h": 111.9
  },
  "luminance": 0.32755
}

Semantic roles & 50–950 ramp

primary
#9CA12E
secondary
#706CBE
accent
#49DF4F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA12E

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

Preview Lab → · Contrast checker → · Palette generator →

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