#9CA61B#9CA61B

#9CA61B 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#9CA61B
RGBrgb(156, 166, 27)
HSLhsl(64, 72%, 38%)
HSVhsv(64, 84%, 65%)
CMYKcmyk(6%, 0%, 83.7%, 34.9%)
CIE-LABlab(65.29, -19.53, 63.10)
CIE-LCHlch(65.29, 66.05, 107.20°)
OKLaboklab(69.41% -0.0608 0.1361)
OKLCHoklch(69.41% 0.149 114.1)
XYZxyz(27.5452, 34.4201, 6.2294)
Luminance0.3442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA61B #251BA6
analogous
#A66B1B #9CA61B #56A61B
triadic
#9CA61B #1B9CA6 #A61B9C
tetradic
#9CA61B #1BA66B #251BA6 #A61B56
square
#9CA61B #1BA66B #251BA6 #A61B56
split-complementary
#9CA61B #1B56A6 #6B1BA6
monochromatic
#393D0A #6B7112 #9CA61B #CDDB24 #DAE458

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA61B#FFFFFF#000000##000000
##9CA61B1.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)
#B2A02A
Tritanopia (blue-blind)
#A79C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca61b;
/* rgb */ color: rgb(156, 166, 27);
/* oklch */ color: oklch(69.4% 0.149 114.1);
Tailwind
colors: {
  custom: {
    50: '#bdc067',
    500: '#9ca61b',
    950: '#000000',
  },
}
SCSS
$custom: #9ca61b;
$custom-light: #bdc067;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca61b",
  "rgb": {
    "r": 156,
    "g": 166,
    "b": 27
  },
  "hsl": {
    "h": 64.317,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.69414,
    "c": 0.14912,
    "h": 114.1
  },
  "luminance": 0.34419
}

Semantic roles & 50–950 ramp

primary
#9CA61B
secondary
#5E56C7
accent
#39EF46
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA61B

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

Preview Lab → · Contrast checker → · Palette generator →

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