#9CA112#9CA112

#9CA112 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.2% C 0.147 H 112.0°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9CA112
RGBrgb(156, 161, 18)
HSLhsl(62, 80%, 35%)
HSVhsv(62, 89%, 63%)
CMYKcmyk(3.1%, 0%, 88.8%, 36.9%)
CIE-LABlab(63.84, -17.22, 63.87)
CIE-LCHlch(63.84, 66.15, 105.08°)
OKLaboklab(68.24% -0.055 0.1364)
OKLCHoklch(68.24% 0.147 112)
XYZxyz(26.5653, 32.6020, 5.4656)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA112 #1712A1
analogous
#A15F12 #9CA112 #54A112
triadic
#9CA112 #129CA1 #A1129C
tetradic
#9CA112 #12A15F #1712A1 #A11254
square
#9CA112 #12A15F #1712A1 #A11254
split-complementary
#9CA112 #1254A1 #5F12A1
monochromatic
#313306 #676A0C #9CA112 #D1D818 #E4EA43

Accessibility & contrast

On white

2.79
#9CA112 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#9CA112 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA112
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA112#FFFFFF#000000##000000
##9CA1121.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AF9C24
Tritanopia (blue-blind)
#A79689
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca112;
/* rgb */ color: rgb(156, 161, 18);
/* oklch */ color: oklch(68.2% 0.147 112.0);
Tailwind
colors: {
  custom: {
    50: '#bdbc63',
    500: '#9ca112',
    950: '#000000',
  },
}
SCSS
$custom: #9ca112;
$custom-light: #bdbc63;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca112",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 18
  },
  "hsl": {
    "h": 62.098,
    "s": 79.888,
    "l": 35.098
  },
  "oklch": {
    "l": 0.68237,
    "c": 0.14705,
    "h": 112
  },
  "luminance": 0.32601
}

Semantic roles & 50–950 ramp

primary
#9CA112
secondary
#4945CA
accent
#31F638
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131206
muted
#82817A

Preview Lab

Preview with #9CA112

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

Preview Lab → · Contrast checker → · Palette generator →

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