#9CA81C#9CA81C

#9CA81C is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.9% C 0.151 H 114.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#9CA81C
RGBrgb(156, 168, 28)
HSLhsl(65, 71%, 38%)
HSVhsv(65, 83%, 66%)
CMYKcmyk(7.1%, 0%, 83.3%, 34.1%)
CIE-LABlab(65.87, -20.50, 63.34)
CIE-LCHlch(65.87, 66.58, 107.94°)
OKLaboklab(69.88% -0.0635 0.1368)
OKLCHoklch(69.88% 0.151 114.9)
XYZxyz(27.9234, 35.1575, 6.4135)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA81C #281CA8
analogous
#A86E1C #9CA81C #56A81C
triadic
#9CA81C #1C9CA8 #A81C9C
tetradic
#9CA81C #1CA86E #281CA8 #A81C56
square
#9CA81C #1CA86E #281CA8 #A81C56
split-complementary
#9CA81C #1C56A8 #6E1CA8
monochromatic
#3B3F0B #6B7413 #9CA81C #CBDB26 #D8E45B

Accessibility & contrast

On white

2.61
#9CA81C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#9CA81C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA81C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA81C#FFFFFF#000000##000000
##9CA81C1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B4A12B
Tritanopia (blue-blind)
#A79E8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ca81c;
/* rgb */ color: rgb(156, 168, 28);
/* oklch */ color: oklch(69.9% 0.151 114.9);
Tailwind
colors: {
  custom: {
    50: '#bdc168',
    500: '#9ca81c',
    950: '#000000',
  },
}
SCSS
$custom: #9ca81c;
$custom-light: #bdc168;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca81c",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 28
  },
  "hsl": {
    "h": 65.143,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.69878,
    "c": 0.15084,
    "h": 114.9
  },
  "luminance": 0.35157
}

Semantic roles & 50–950 ramp

primary
#9CA81C
secondary
#6258C7
accent
#3AEE49
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA81C

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

Preview Lab → · Contrast checker → · Palette generator →

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