#9CA631#9CA631

#9CA631 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.5% C 0.138 H 114.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9CA631
RGBrgb(156, 166, 49)
HSLhsl(65, 54%, 42%)
HSVhsv(65, 70%, 65%)
CMYKcmyk(6%, 0%, 70.5%, 34.9%)
CIE-LABlab(65.41, -18.59, 56.22)
CIE-LCHlch(65.41, 59.21, 108.30°)
OKLaboklab(69.54% -0.0564 0.1254)
OKLCHoklch(69.54% 0.138 114.2)
XYZxyz(27.9017, 34.5626, 8.1066)
Luminance0.3456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA631 #3B31A6
analogous
#A67631 #9CA631 #62A631
triadic
#9CA631 #319CA6 #A6319C
tetradic
#9CA631 #31A676 #3B31A6 #A63162
square
#9CA631 #31A676 #3B31A6 #A63162
split-complementary
#9CA631 #3162A6 #7631A6
monochromatic
#434715 #707723 #9CA631 #BFCA4A #D0D87A

Accessibility & contrast

On white

2.65
#9CA631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#9CA631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA631
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA631#FFFFFF#000000##000000
##9CA6311.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1E
Deuteranopia (green-blind)
#B2A03A
Tritanopia (blue-blind)
#A69C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca631;
/* rgb */ color: rgb(156, 166, 49);
/* oklch */ color: oklch(69.5% 0.138 114.2);
Tailwind
colors: {
  custom: {
    50: '#bcc071',
    500: '#9ca631',
    950: '#000000',
  },
}
SCSS
$custom: #9ca631;
$custom-light: #bcc071;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca631",
  "rgb": {
    "r": 156,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 65.128,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6954,
    "c": 0.13753,
    "h": 114.2
  },
  "luminance": 0.34562
}

Semantic roles & 50–950 ramp

primary
#9CA631
secondary
#7973C0
accent
#4ADE57
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA631

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

Preview Lab → · Contrast checker → · Palette generator →

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