#9CA61C#9CA61C

#9CA61C is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.4% C 0.149 H 114.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9CA61C
RGBrgb(156, 166, 28)
HSLhsl(64, 71%, 38%)
HSVhsv(64, 83%, 65%)
CMYKcmyk(6%, 0%, 83.1%, 34.9%)
CIE-LABlab(65.30, -19.50, 62.85)
CIE-LCHlch(65.30, 65.80, 107.23°)
OKLaboklab(69.42% -0.0607 0.1358)
OKLCHoklch(69.42% 0.149 114.1)
XYZxyz(27.5570, 34.4248, 6.2914)
Luminance0.3442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA61C #261CA6
analogous
#A66B1C #9CA61C #57A61C
triadic
#9CA61C #1C9CA6 #A61C9C
tetradic
#9CA61C #1CA66B #261CA6 #A61C57
square
#9CA61C #1CA66B #261CA6 #A61C57
split-complementary
#9CA61C #1C57A6 #6B1CA6
monochromatic
#3A3D0A #6B7213 #9CA61C #CDDA25 #D9E359

Accessibility & contrast

On white

2.66
#9CA61C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#9CA61C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA61C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA61C#FFFFFF#000000##000000
##9CA61C1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#B2A02B
Tritanopia (blue-blind)
#A79C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca61c;
/* rgb */ color: rgb(156, 166, 28);
/* oklch */ color: oklch(69.4% 0.149 114.1);
Tailwind
colors: {
  custom: {
    50: '#bdc067',
    500: '#9ca61c',
    950: '#000000',
  },
}
SCSS
$custom: #9ca61c;
$custom-light: #bdc067;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca61c",
  "rgb": {
    "r": 156,
    "g": 166,
    "b": 28
  },
  "hsl": {
    "h": 64.348,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.69418,
    "c": 0.14872,
    "h": 114.1
  },
  "luminance": 0.34424
}

Semantic roles & 50–950 ramp

primary
#9CA61C
secondary
#5F57C7
accent
#3AEE47
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA61C

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

Preview Lab → · Contrast checker → · Palette generator →

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