#9CA81D#9CA81D

#9CA81D 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#9CA81D
RGBrgb(156, 168, 29)
HSLhsl(65, 71%, 39%)
HSVhsv(65, 83%, 66%)
CMYKcmyk(7.1%, 0%, 82.7%, 34.1%)
CIE-LABlab(65.87, -20.47, 63.09)
CIE-LCHlch(65.87, 66.33, 107.98°)
OKLaboklab(69.88% -0.0633 0.1365)
OKLCHoklch(69.88% 0.15 114.9)
XYZxyz(27.9356, 35.1624, 6.4776)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA81D #291DA8
analogous
#A86E1D #9CA81D #56A81D
triadic
#9CA81D #1D9CA8 #A81D9C
tetradic
#9CA81D #1DA86E #291DA8 #A81D56
square
#9CA81D #1DA86E #291DA8 #A81D56
split-complementary
#9CA81D #1D56A8 #6E1DA8
monochromatic
#3B400B #6C7414 #9CA81D #CBDA28 #D7E35C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA81D#FFFFFF#000000##000000
##9CA81D1.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: #9ca81d;
/* rgb */ color: rgb(156, 168, 29);
/* oklch */ color: oklch(69.9% 0.150 114.9);
Tailwind
colors: {
  custom: {
    50: '#bdc168',
    500: '#9ca81d',
    950: '#000000',
  },
}
SCSS
$custom: #9ca81d;
$custom-light: #bdc168;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca81d",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 29
  },
  "hsl": {
    "h": 65.18,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69882,
    "c": 0.15044,
    "h": 114.9
  },
  "luminance": 0.35162
}

Semantic roles & 50–950 ramp

primary
#9CA81D
secondary
#635AC7
accent
#3AED4A
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA81D

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

Preview Lab → · Contrast checker → · Palette generator →

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