#9BA92B#9BA92B

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

Color values

HEX#9BA92B
RGBrgb(155, 169, 43)
HSLhsl(67, 59%, 42%)
HSVhsv(67, 75%, 66%)
CMYKcmyk(8.3%, 0%, 74.6%, 33.7%)
CIE-LABlab(66.15, -20.84, 59.08)
CIE-LCHlch(66.15, 62.65, 109.43°)
OKLaboklab(70.11% -0.0632 0.1305)
OKLCHoklch(70.11% 0.145 115.8)
XYZxyz(28.1423, 35.5193, 7.6584)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA92B #392BA9
analogous
#A9782B #9BA92B #5CA92B
triadic
#9BA92B #2B9BA9 #A92B9B
tetradic
#9BA92B #2BA978 #392BA9 #A92B5C
square
#9BA92B #2BA978 #392BA9 #A92B5C
split-complementary
#9BA92B #2B5CA9 #782BA9
monochromatic
#424712 #6E781F #9BA92B #BFCF42 #D0DB73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA92B#FFFFFF#000000##000000
##9BA92B1.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)
#B5A010
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#A59F91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ba92b;
/* rgb */ color: rgb(155, 169, 43);
/* oklch */ color: oklch(70.1% 0.145 115.8);
Tailwind
colors: {
  custom: {
    50: '#bcc26e',
    500: '#9ba92b',
    950: '#000000',
  },
}
SCSS
$custom: #9ba92b;
$custom-light: #bcc26e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba92b",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 66.667,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70106,
    "c": 0.14495,
    "h": 115.8
  },
  "luminance": 0.35519
}

Semantic roles & 50–950 ramp

primary
#9BA92B
secondary
#776DC3
accent
#45E357
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA92B

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

Preview Lab → · Contrast checker → · Palette generator →

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