#9CA337#9CA337

#9CA337 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.9% C 0.130 H 112.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9CA337
RGBrgb(156, 163, 55)
HSLhsl(64, 50%, 43%)
HSVhsv(64, 66%, 64%)
CMYKcmyk(4.3%, 0%, 66.3%, 36.1%)
CIE-LABlab(64.59, -16.70, 53.02)
CIE-LCHlch(64.59, 55.58, 107.48°)
OKLaboklab(68.9% -0.0505 0.1197)
OKLCHoklch(68.9% 0.13 112.9)
XYZxyz(27.4978, 33.5387, 8.6388)
Luminance0.3354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA337 #3E37A3
analogous
#A37437 #9CA337 #66A337
triadic
#9CA337 #379CA3 #A3379C
tetradic
#9CA337 #37A374 #3E37A3 #A33766
square
#9CA337 #37A374 #3E37A3 #A33766
split-complementary
#9CA337 #3766A3 #7437A3
monochromatic
#444718 #707528 #9CA337 #BDC552 #CFD480

Accessibility & contrast

On white

2.72
#9CA337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9CA337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA337
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA337#FFFFFF#000000##000000
##9CA3371.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B28
Deuteranopia (green-blind)
#AF9E3E
Tritanopia (blue-blind)
#A6998D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca337;
/* rgb */ color: rgb(156, 163, 55);
/* oklch */ color: oklch(68.9% 0.130 112.9);
Tailwind
colors: {
  custom: {
    50: '#bcbe74',
    500: '#9ca337',
    950: '#000000',
  },
}
SCSS
$custom: #9ca337;
$custom-light: #bcbe74;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca337",
  "rgb": {
    "r": 156,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 63.889,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68903,
    "c": 0.1299,
    "h": 112.9
  },
  "luminance": 0.33538
}

Semantic roles & 50–950 ramp

primary
#9CA337
secondary
#7D78BE
accent
#4FD958
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA337

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

Preview Lab → · Contrast checker → · Palette generator →

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