#9BA92A#9BA92A

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

Color values

HEX#9BA92A
RGBrgb(155, 169, 42)
HSLhsl(67, 60%, 41%)
HSVhsv(67, 75%, 66%)
CMYKcmyk(8.3%, 0%, 75.1%, 33.7%)
CIE-LABlab(66.15, -20.89, 59.42)
CIE-LCHlch(66.15, 62.98, 109.37°)
OKLaboklab(70.1% -0.0634 0.131)
OKLCHoklch(70.1% 0.146 115.8)
XYZxyz(28.1242, 35.5121, 7.5630)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA92A #382AA9
analogous
#A9782A #9BA92A #5CA92A
triadic
#9BA92A #2A9BA9 #A92A9B
tetradic
#9BA92A #2AA978 #382AA9 #A92A5C
square
#9BA92A #2AA978 #382AA9 #A92A5C
split-complementary
#9BA92A #2A5CA9 #782AA9
monochromatic
#414712 #6E781E #9BA92A #C0D041 #D0DC72

Accessibility & contrast

On white

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

On black

8.10
#9BA92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA92A
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA92A#FFFFFF#000000##000000
##9BA92A1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba92a;
/* rgb */ color: rgb(155, 169, 42);
/* oklch */ color: oklch(70.1% 0.146 115.8);
Tailwind
colors: {
  custom: {
    50: '#bcc26e',
    500: '#9ba92a',
    950: '#000000',
  },
}
SCSS
$custom: #9ba92a;
$custom-light: #bcc26e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba92a",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 42
  },
  "hsl": {
    "h": 66.614,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.701,
    "c": 0.14553,
    "h": 115.8
  },
  "luminance": 0.35512
}

Semantic roles & 50–950 ramp

primary
#9BA92A
secondary
#756CC3
accent
#44E356
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA92A

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

Preview Lab → · Contrast checker → · Palette generator →

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