#9CA336#9CA336

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

Color values

HEX#9CA336
RGBrgb(156, 163, 54)
HSLhsl(64, 50%, 43%)
HSVhsv(64, 67%, 64%)
CMYKcmyk(4.3%, 0%, 66.9%, 36.1%)
CIE-LABlab(64.59, -16.76, 53.42)
CIE-LCHlch(64.59, 55.99, 107.42°)
OKLaboklab(68.9% -0.0508 0.1204)
OKLCHoklch(68.9% 0.131 112.9)
XYZxyz(27.4741, 33.5292, 8.5138)
Luminance0.3353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA336 #3D36A3
analogous
#A37336 #9CA336 #66A336
triadic
#9CA336 #369CA3 #A3369C
tetradic
#9CA336 #36A373 #3D36A3 #A33666
square
#9CA336 #36A373 #3D36A3 #A33666
split-complementary
#9CA336 #3666A3 #7336A3
monochromatic
#444718 #707527 #9CA336 #BEC551 #CFD57F

Accessibility & contrast

On white

2.73
#9CA336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA336#FFFFFF#000000##000000
##9CA3361.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca336;
/* rgb */ color: rgb(156, 163, 54);
/* oklch */ color: oklch(68.9% 0.131 112.9);
Tailwind
colors: {
  custom: {
    50: '#bcbe73',
    500: '#9ca336',
    950: '#000000',
  },
}
SCSS
$custom: #9ca336;
$custom-light: #bcbe73;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca336",
  "rgb": {
    "r": 156,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 63.853,
    "s": 50.23,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68895,
    "c": 0.13064,
    "h": 112.9
  },
  "luminance": 0.33529
}

Semantic roles & 50–950 ramp

primary
#9CA336
secondary
#7C77BE
accent
#4EDA57
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA336

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

Preview Lab → · Contrast checker → · Palette generator →

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