#9BA92C#9BA92C

#9BA92C is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.1% C 0.144 H 115.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9BA92C
RGBrgb(155, 169, 44)
HSLhsl(67, 59%, 42%)
HSVhsv(67, 74%, 66%)
CMYKcmyk(8.3%, 0%, 74%, 33.7%)
CIE-LABlab(66.16, -20.80, 58.74)
CIE-LCHlch(66.16, 62.31, 109.49°)
OKLaboklab(70.11% -0.063 0.1299)
OKLCHoklch(70.11% 0.144 115.9)
XYZxyz(28.1609, 35.5268, 7.7562)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA92C #3A2CA9
analogous
#A9792C #9BA92C #5DA92C
triadic
#9BA92C #2C9BA9 #A92C9B
tetradic
#9BA92C #2CA979 #3A2CA9 #A92C5D
square
#9BA92C #2CA979 #3A2CA9 #A92C5D
split-complementary
#9BA92C #2C5DA9 #792CA9
monochromatic
#424813 #6E781F #9BA92C #BFCE44 #CFDB74

Accessibility & contrast

On white

2.59
#9BA92C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#9BA92C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA92C
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA92C#FFFFFF#000000##000000
##9BA92C1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A012
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#A59F91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ba92c;
/* rgb */ color: rgb(155, 169, 44);
/* oklch */ color: oklch(70.1% 0.144 115.9);
Tailwind
colors: {
  custom: {
    50: '#bcc26f',
    500: '#9ba92c',
    950: '#000000',
  },
}
SCSS
$custom: #9ba92c;
$custom-light: #bcc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba92c",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 44
  },
  "hsl": {
    "h": 66.72,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70112,
    "c": 0.14436,
    "h": 115.9
  },
  "luminance": 0.35526
}

Semantic roles & 50–950 ramp

primary
#9BA92C
secondary
#786EC3
accent
#46E257
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA92C

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

Preview Lab → · Contrast checker → · Palette generator →

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