#9BA74C#9BA74C

#9BA74C is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.117 H 115.7°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#9BA74C
RGBrgb(155, 167, 76)
HSLhsl(68, 37%, 48%)
HSVhsv(68, 54%, 65%)
CMYKcmyk(7.2%, 0%, 54.5%, 34.5%)
CIE-LABlab(65.85, -17.58, 44.94)
CIE-LCHlch(65.85, 48.26, 111.37°)
OKLaboklab(69.95% -0.0508 0.1053)
OKLCHoklch(69.95% 0.117 115.7)
XYZxyz(28.6413, 35.1282, 12.1077)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA74C #584CA7
analogous
#A7854C #9BA74C #6DA74C
triadic
#9BA74C #4C9BA7 #A74C9B
tetradic
#9BA74C #4CA785 #584CA7 #A74C6D
square
#9BA74C #4CA785 #584CA7 #A74C6D
split-complementary
#9BA74C #4C6DA7 #854CA7
monochromatic
#4D5326 #747D39 #9BA74C #B4BF72 #CBD29C

Accessibility & contrast

On white

2.62
#9BA74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#9BA74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA74C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA74C#FFFFFF#000000##000000
##9BA74C1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F43
Deuteranopia (green-blind)
#B0A151
Tritanopia (blue-blind)
#A49F93
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba74c;
/* rgb */ color: rgb(155, 167, 76);
/* oklch */ color: oklch(70.0% 0.117 115.7);
Tailwind
colors: {
  custom: {
    50: '#bac181',
    500: '#9ba74c',
    950: '#000000',
  },
}
SCSS
$custom: #9ba74c;
$custom-light: #bac181;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba74c",
  "rgb": {
    "r": 155,
    "g": 167,
    "b": 76
  },
  "hsl": {
    "h": 67.912,
    "s": 37.449,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6995,
    "c": 0.11686,
    "h": 115.7
  },
  "luminance": 0.35128
}

Semantic roles & 50–950 ramp

primary
#9BA74C
secondary
#9690BE
accent
#5ACD6A
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #9BA74C

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

Preview Lab → · Contrast checker → · Palette generator →

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