#9CA81F#9CA81F

#9CA81F 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#9CA81F
RGBrgb(156, 168, 31)
HSLhsl(65, 69%, 39%)
HSVhsv(65, 82%, 66%)
CMYKcmyk(7.1%, 0%, 81.5%, 34.1%)
CIE-LABlab(65.88, -20.40, 62.57)
CIE-LCHlch(65.88, 65.81, 108.06°)
OKLaboklab(69.89% -0.063 0.1357)
OKLCHoklch(69.89% 0.15 114.9)
XYZxyz(27.9611, 35.1726, 6.6121)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA81F #2B1FA8
analogous
#A86F1F #9CA81F #58A81F
triadic
#9CA81F #1F9CA8 #A81F9C
tetradic
#9CA81F #1FA86F #2B1FA8 #A81F58
square
#9CA81F #1FA86F #2B1FA8 #A81F58
split-complementary
#9CA81F #1F58A8 #6F1FA8
monochromatic
#3C410C #6C7415 #9CA81F #C9D82C #D6E260

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9ca81f;
/* rgb */ color: rgb(156, 168, 31);
/* oklch */ color: oklch(69.9% 0.150 114.9);
Tailwind
colors: {
  custom: {
    50: '#bdc169',
    500: '#9ca81f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca81f;
$custom-light: #bdc169;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca81f",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 65.255,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69891,
    "c": 0.14959,
    "h": 114.9
  },
  "luminance": 0.35172
}

Semantic roles & 50–950 ramp

primary
#9CA81F
secondary
#665DC6
accent
#3CEC4B
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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