#9BA02A#9BA02A

#9BA02A is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.136 H 111.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9BA02A
RGBrgb(155, 160, 42)
HSLhsl(63, 58%, 40%)
HSVhsv(63, 74%, 63%)
CMYKcmyk(3.1%, 0%, 73.8%, 37.3%)
CIE-LABlab(63.57, -16.31, 56.98)
CIE-LCHlch(63.57, 59.27, 105.97°)
OKLaboklab(68.04% -0.0507 0.1258)
OKLCHoklch(68.04% 0.136 111.9)
XYZxyz(26.5072, 32.2780, 7.0240)
Luminance0.3228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA02A #2F2AA0
analogous
#A06A2A #9BA02A #60A02A
triadic
#9BA02A #2A9BA0 #A02A9B
tetradic
#9BA02A #2AA06A #2F2AA0 #A02A60
square
#9BA02A #2AA06A #2F2AA0 #A02A60
split-complementary
#9BA02A #2A60A0 #6A2AA0
monochromatic
#3D3F11 #6C701D #9BA02A #C6CC3C #D4D86C

Accessibility & contrast

On white

2.82
#9BA02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#9BA02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA02A
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA02A#FFFFFF#000000##000000
##9BA02A1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9812
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#A69689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba02a;
/* rgb */ color: rgb(155, 160, 42);
/* oklch */ color: oklch(68.0% 0.136 111.9);
Tailwind
colors: {
  custom: {
    50: '#bcbb6d',
    500: '#9ba02a',
    950: '#000000',
  },
}
SCSS
$custom: #9ba02a;
$custom-light: #bcbb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba02a",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 62.542,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68037,
    "c": 0.13566,
    "h": 111.9
  },
  "luminance": 0.32277
}

Semantic roles & 50–950 ramp

primary
#9BA02A
secondary
#6A67BF
accent
#46E24D
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9BA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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