#9CA12F#9CA12F

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

Color values

HEX#9CA12F
RGBrgb(156, 161, 47)
HSLhsl(63, 55%, 41%)
HSVhsv(63, 71%, 63%)
CMYKcmyk(3.1%, 0%, 70.8%, 36.9%)
CIE-LABlab(63.97, -16.14, 55.56)
CIE-LCHlch(63.97, 57.85, 106.19°)
OKLaboklab(68.38% -0.0498 0.1237)
OKLCHoklch(68.38% 0.133 111.9)
XYZxyz(26.9691, 32.7635, 7.5921)
Luminance0.3276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA12F #342FA1
analogous
#A16D2F #9CA12F #63A12F
triadic
#9CA12F #2F9CA1 #A12F9C
tetradic
#9CA12F #2FA16D #342FA1 #A12F63
square
#9CA12F #2FA16D #342FA1 #A12F63
split-complementary
#9CA12F #2F63A1 #6D2FA1
monochromatic
#404213 #6E7221 #9CA12F #C3C945 #D2D674

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA12F#FFFFFF#000000##000000
##9CA12F1.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)
#AD9A1C
Deuteranopia (green-blind)
#AE9C38
Tritanopia (blue-blind)
#A7978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca12f;
/* rgb */ color: rgb(156, 161, 47);
/* oklch */ color: oklch(68.4% 0.133 111.9);
Tailwind
colors: {
  custom: {
    50: '#bcbc6f',
    500: '#9ca12f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca12f;
$custom-light: #bcbc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca12f",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 62.632,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68384,
    "c": 0.13333,
    "h": 111.9
  },
  "luminance": 0.32763
}

Semantic roles & 50–950 ramp

primary
#9CA12F
secondary
#716EBE
accent
#4ADE50
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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