#9BA92F#9BA92F

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

Color values

HEX#9BA92F
RGBrgb(155, 169, 47)
HSLhsl(67, 56%, 42%)
HSVhsv(67, 72%, 66%)
CMYKcmyk(8.3%, 0%, 72.2%, 33.7%)
CIE-LABlab(66.17, -20.64, 57.69)
CIE-LCHlch(66.17, 61.27, 109.69°)
OKLaboklab(70.13% -0.0623 0.1282)
OKLCHoklch(70.13% 0.143 115.9)
XYZxyz(28.2193, 35.5502, 8.0641)
Luminance0.3555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA92F #3D2FA9
analogous
#A97A2F #9BA92F #5EA92F
triadic
#9BA92F #2F9BA9 #A92F9B
tetradic
#9BA92F #2FA97A #3D2FA9 #A92F5E
square
#9BA92F #2FA97A #3D2FA9 #A92F5E
split-complementary
#9BA92F #2F5EA9 #7A2FA9
monochromatic
#434914 #6F7922 #9BA92F #BDCC49 #CFDA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA92F#FFFFFF#000000##000000
##9BA92F1.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)
#B5A019
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#A59F91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ba92f;
/* rgb */ color: rgb(155, 169, 47);
/* oklch */ color: oklch(70.1% 0.143 115.9);
Tailwind
colors: {
  custom: {
    50: '#bcc270',
    500: '#9ba92f',
    950: '#000000',
  },
}
SCSS
$custom: #9ba92f;
$custom-light: #bcc270;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba92f",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 66.885,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70133,
    "c": 0.14254,
    "h": 115.9
  },
  "luminance": 0.3555
}

Semantic roles & 50–950 ramp

primary
#9BA92F
secondary
#7B72C2
accent
#48E059
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA92F

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

Preview Lab → · Contrast checker → · Palette generator →

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