#9CA326#9CA326

#9CA326 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.141 H 112.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9CA326
RGBrgb(156, 163, 38)
HSLhsl(63, 62%, 39%)
HSVhsv(63, 77%, 64%)
CMYKcmyk(4.3%, 0%, 76.7%, 36.1%)
CIE-LABlab(64.49, -17.60, 59.22)
CIE-LCHlch(64.49, 61.78, 106.55°)
OKLaboklab(68.78% -0.0547 0.1298)
OKLCHoklch(68.78% 0.141 112.8)
XYZxyz(27.1582, 33.4029, 6.8501)
Luminance0.3340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA326 #2D26A3
analogous
#A36C26 #9CA326 #5EA326
triadic
#9CA326 #269CA3 #A3269C
tetradic
#9CA326 #26A36C #2D26A3 #A3265E
square
#9CA326 #26A36C #2D26A3 #A3265E
split-complementary
#9CA326 #265EA3 #6C26A3
monochromatic
#3D400F #6D711A #9CA326 #C8D036 #D5DC68

Accessibility & contrast

On white

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

On black

7.68
#9CA326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA326
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA326#FFFFFF#000000##000000
##9CA3261.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B05
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#A7998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca326;
/* rgb */ color: rgb(156, 163, 38);
/* oklch */ color: oklch(68.8% 0.141 112.8);
Tailwind
colors: {
  custom: {
    50: '#bdbe6b',
    500: '#9ca326',
    950: '#000000',
  },
}
SCSS
$custom: #9ca326;
$custom-light: #bdbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca326",
  "rgb": {
    "r": 156,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 63.36,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68781,
    "c": 0.14086,
    "h": 112.8
  },
  "luminance": 0.33402
}

Semantic roles & 50–950 ramp

primary
#9CA326
secondary
#6863C2
accent
#43E54C
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA326

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

Preview Lab → · Contrast checker → · Palette generator →

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