#9CA81E#9CA81E

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

Color values

HEX#9CA81E
RGBrgb(156, 168, 30)
HSLhsl(65, 70%, 39%)
HSVhsv(65, 82%, 66%)
CMYKcmyk(7.1%, 0%, 82.1%, 34.1%)
CIE-LABlab(65.88, -20.44, 62.83)
CIE-LCHlch(65.88, 66.07, 108.02°)
OKLaboklab(69.89% -0.0632 0.1361)
OKLCHoklch(69.89% 0.15 114.9)
XYZxyz(27.9481, 35.1674, 6.5438)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA81E #2A1EA8
analogous
#A86F1E #9CA81E #57A81E
triadic
#9CA81E #1E9CA8 #A81E9C
tetradic
#9CA81E #1EA86F #2A1EA8 #A81E57
square
#9CA81E #1EA86F #2A1EA8 #A81E57
split-complementary
#9CA81E #1E57A8 #6F1EA8
monochromatic
#3C400B #6C7415 #9CA81E #CAD92A #D7E25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA81E#FFFFFF#000000##000000
##9CA81E1.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)
#B4A12C
Tritanopia (blue-blind)
#A79E8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ca81e;
/* rgb */ color: rgb(156, 168, 30);
/* oklch */ color: oklch(69.9% 0.150 114.9);
Tailwind
colors: {
  custom: {
    50: '#bdc168',
    500: '#9ca81e',
    950: '#000000',
  },
}
SCSS
$custom: #9ca81e;
$custom-light: #bdc168;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca81e",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 65.217,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.69887,
    "c": 0.15003,
    "h": 114.9
  },
  "luminance": 0.35167
}

Semantic roles & 50–950 ramp

primary
#9CA81E
secondary
#655BC7
accent
#3BED4B
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA81E

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

Preview Lab → · Contrast checker → · Palette generator →

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