#9BA120#9BA120

#9BA120 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.2% C 0.142 H 112.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9BA120
RGBrgb(155, 161, 32)
HSLhsl(63, 67%, 38%)
HSVhsv(63, 80%, 63%)
CMYKcmyk(3.7%, 0%, 80.1%, 36.9%)
CIE-LABlab(63.81, -17.25, 60.43)
CIE-LCHlch(63.81, 62.84, 105.93°)
OKLaboklab(68.21% -0.0542 0.1313)
OKLCHoklch(68.21% 0.142 112.4)
XYZxyz(26.5241, 32.5632, 6.2543)
Luminance0.3256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA120 #2620A1
analogous
#A16720 #9BA120 #5AA120
triadic
#9BA120 #209BA1 #A1209B
tetradic
#9BA120 #20A167 #2620A1 #A1205A
square
#9BA120 #20A167 #2620A1 #A1205A
split-complementary
#9BA120 #205AA1 #6720A1
monochromatic
#393B0C #6A6E16 #9BA120 #CCD42A #D9DF5D

Accessibility & contrast

On white

2.80
#9BA120 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#9BA120 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA120
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA120#FFFFFF#000000##000000
##9BA1201.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AE9C2C
Tritanopia (blue-blind)
#A6978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba120;
/* rgb */ color: rgb(155, 161, 32);
/* oklch */ color: oklch(68.2% 0.142 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbc68',
    500: '#9ba120',
    950: '#000000',
  },
}
SCSS
$custom: #9ba120;
$custom-light: #bcbc68;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba120",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 62.791,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.68207,
    "c": 0.14205,
    "h": 112.4
  },
  "luminance": 0.32563
}

Semantic roles & 50–950 ramp

primary
#9BA120
secondary
#5F5AC3
accent
#3EEA46
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA120

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

Preview Lab → · Contrast checker → · Palette generator →

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