#9BA74B#9BA74B

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

Color values

HEX#9BA74B
RGBrgb(155, 167, 75)
HSLhsl(68, 38%, 47%)
HSVhsv(68, 55%, 65%)
CMYKcmyk(7.2%, 0%, 55.1%, 34.5%)
CIE-LABlab(65.84, -17.67, 45.41)
CIE-LCHlch(65.84, 48.72, 111.26°)
OKLaboklab(69.94% -0.0511 0.1062)
OKLCHoklch(69.94% 0.118 115.7)
XYZxyz(28.6068, 35.1144, 11.9260)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA74B #574BA7
analogous
#A7854B #9BA74B #6DA74B
triadic
#9BA74B #4B9BA7 #A74B9B
tetradic
#9BA74B #4BA785 #574BA7 #A74B6D
square
#9BA74B #4BA785 #574BA7 #A74B6D
split-complementary
#9BA74B #4B6DA7 #854BA7
monochromatic
#4D5325 #747D38 #9BA74B #B5BF70 #CBD29B

Accessibility & contrast

On white

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

On black

8.02
#9BA74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA74B
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA74B#FFFFFF#000000##000000
##9BA74B1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba74b;
/* rgb */ color: rgb(155, 167, 75);
/* oklch */ color: oklch(69.9% 0.118 115.7);
Tailwind
colors: {
  custom: {
    50: '#bac180',
    500: '#9ba74b',
    950: '#000000',
  },
}
SCSS
$custom: #9ba74b;
$custom-light: #bac180;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba74b",
  "rgb": {
    "r": 155,
    "g": 167,
    "b": 75
  },
  "hsl": {
    "h": 67.826,
    "s": 38.017,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69938,
    "c": 0.11782,
    "h": 115.7
  },
  "luminance": 0.35114
}

Semantic roles & 50–950 ramp

primary
#9BA74B
secondary
#968FBE
accent
#5ACE69
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #9BA74B

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

Preview Lab → · Contrast checker → · Palette generator →

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