#9BA72F#9BA72F

#9BA72F is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.7% C 0.140 H 115.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9BA72F
RGBrgb(155, 167, 47)
HSLhsl(66, 56%, 42%)
HSVhsv(66, 72%, 65%)
CMYKcmyk(7.2%, 0%, 71.9%, 34.5%)
CIE-LABlab(65.60, -19.63, 57.13)
CIE-LCHlch(65.60, 60.41, 108.97°)
OKLaboklab(69.67% -0.0595 0.127)
OKLCHoklch(69.67% 0.14 115.1)
XYZxyz(27.8501, 34.8117, 7.9410)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA72F #3B2FA7
analogous
#A7772F #9BA72F #5FA72F
triadic
#9BA72F #2F9BA7 #A72F9B
tetradic
#9BA72F #2FA777 #3B2FA7 #A72F5F
square
#9BA72F #2FA777 #3B2FA7 #A72F5F
split-complementary
#9BA72F #2F5FA7 #772FA7
monochromatic
#424714 #6F7722 #9BA72F #BECB48 #CFD978

Accessibility & contrast

On white

2.64
#9BA72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#9BA72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA72F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA72F#FFFFFF#000000##000000
##9BA72F1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1A
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#A59D90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ba72f;
/* rgb */ color: rgb(155, 167, 47);
/* oklch */ color: oklch(69.7% 0.140 115.1);
Tailwind
colors: {
  custom: {
    50: '#bcc170',
    500: '#9ba72f',
    950: '#000000',
  },
}
SCSS
$custom: #9ba72f;
$custom-light: #bcc170;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba72f",
  "rgb": {
    "r": 155,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 66,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69673,
    "c": 0.14027,
    "h": 115.1
  },
  "luminance": 0.34811
}

Semantic roles & 50–950 ramp

primary
#9BA72F
secondary
#7971C1
accent
#48DF58
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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