#9CA12A#9CA12A

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

Color values

HEX#9CA12A
RGBrgb(156, 161, 42)
HSLhsl(63, 59%, 40%)
HSVhsv(63, 74%, 63%)
CMYKcmyk(3.1%, 0%, 73.9%, 36.9%)
CIE-LABlab(63.94, -16.39, 57.36)
CIE-LCHlch(63.94, 59.65, 105.95°)
OKLaboklab(68.35% -0.051 0.1266)
OKLCHoklch(68.35% 0.136 111.9)
XYZxyz(26.8740, 32.7255, 7.0910)
Luminance0.3272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA12A #2F2AA1
analogous
#A16B2A #9CA12A #61A12A
triadic
#9CA12A #2A9CA1 #A12A9C
tetradic
#9CA12A #2AA16B #2F2AA1 #A12A61
square
#9CA12A #2AA16B #2F2AA1 #A12A61
split-complementary
#9CA12A #2A61A1 #6B2AA1
monochromatic
#3E4011 #6D701D #9CA12A #C6CC3C #D4D96D

Accessibility & contrast

On white

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

On black

7.54
#9CA12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA12A
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA12A#FFFFFF#000000##000000
##9CA12A1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca12a;
/* rgb */ color: rgb(156, 161, 42);
/* oklch */ color: oklch(68.3% 0.136 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbc6d',
    500: '#9ca12a',
    950: '#000000',
  },
}
SCSS
$custom: #9ca12a;
$custom-light: #bdbc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca12a",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 62.521,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6835,
    "c": 0.13647,
    "h": 111.9
  },
  "luminance": 0.32725
}

Semantic roles & 50–950 ramp

primary
#9CA12A
secondary
#6B67C0
accent
#46E24D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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