#9CA12B#9CA12B

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

Color values

HEX#9CA12B
RGBrgb(156, 161, 43)
HSLhsl(63, 58%, 40%)
HSVhsv(63, 73%, 63%)
CMYKcmyk(3.1%, 0%, 73.3%, 36.9%)
CIE-LABlab(63.94, -16.34, 57.01)
CIE-LCHlch(63.94, 59.30, 105.99°)
OKLaboklab(68.36% -0.0508 0.126)
OKLCHoklch(68.36% 0.136 111.9)
XYZxyz(26.8921, 32.7327, 7.1865)
Luminance0.3273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA12B #302BA1
analogous
#A16B2B #9CA12B #61A12B
triadic
#9CA12B #2B9CA1 #A12B9C
tetradic
#9CA12B #2BA16B #302BA1 #A12B61
square
#9CA12B #2BA16B #302BA1 #A12B61
split-complementary
#9CA12B #2B61A1 #6B2BA1
monochromatic
#3E4011 #6D711E #9CA12B #C5CB3E #D4D86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA12B#FFFFFF#000000##000000
##9CA12B1.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)
#AE9914
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#A7978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca12b;
/* rgb */ color: rgb(156, 161, 43);
/* oklch */ color: oklch(68.4% 0.136 111.9);
Tailwind
colors: {
  custom: {
    50: '#bcbc6d',
    500: '#9ca12b',
    950: '#000000',
  },
}
SCSS
$custom: #9ca12b;
$custom-light: #bcbc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca12b",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 62.542,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.68356,
    "c": 0.13586,
    "h": 111.9
  },
  "luminance": 0.32732
}

Semantic roles & 50–950 ramp

primary
#9CA12B
secondary
#6C69BF
accent
#47E14D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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