#9CA538#9CA538

#9CA538 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.131 H 113.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9CA538
RGBrgb(156, 165, 56)
HSLhsl(65, 49%, 43%)
HSVhsv(65, 66%, 65%)
CMYKcmyk(5.5%, 0%, 66.1%, 35.3%)
CIE-LABlab(65.17, -17.66, 53.20)
CIE-LCHlch(65.17, 56.06, 108.37°)
OKLaboklab(69.37% -0.0531 0.1202)
OKLCHoklch(69.37% 0.131 113.9)
XYZxyz(27.8800, 34.2642, 8.8856)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA538 #4138A5
analogous
#A57738 #9CA538 #65A538
triadic
#9CA538 #389CA5 #A5389C
tetradic
#9CA538 #38A577 #4138A5 #A53865
square
#9CA538 #38A577 #4138A5 #A53865
split-complementary
#9CA538 #3865A5 #7738A5
monochromatic
#464A19 #717728 #9CA538 #BCC555 #CED583

Accessibility & contrast

On white

2.67
#9CA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#9CA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA538
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA538#FFFFFF#000000##000000
##9CA5381.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D29
Deuteranopia (green-blind)
#B19F40
Tritanopia (blue-blind)
#A69B8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca538;
/* rgb */ color: rgb(156, 165, 56);
/* oklch */ color: oklch(69.4% 0.131 113.9);
Tailwind
colors: {
  custom: {
    50: '#bcbf75',
    500: '#9ca538',
    950: '#000000',
  },
}
SCSS
$custom: #9ca538;
$custom-light: #bcbf75;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca538",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 64.954,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69368,
    "c": 0.13144,
    "h": 113.9
  },
  "luminance": 0.34264
}

Semantic roles & 50–950 ramp

primary
#9CA538
secondary
#807ABE
accent
#4FD95A
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9CA538

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

Preview Lab → · Contrast checker → · Palette generator →

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