#9BA112#9BA112

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

Color values

HEX#9BA112
RGBrgb(155, 161, 18)
HSLhsl(63, 80%, 35%)
HSVhsv(63, 89%, 63%)
CMYKcmyk(3.7%, 0%, 88.8%, 36.9%)
CIE-LABlab(63.76, -17.66, 63.77)
CIE-LCHlch(63.76, 66.17, 105.48°)
OKLaboklab(68.15% -0.0562 0.1362)
OKLCHoklch(68.15% 0.147 112.4)
XYZxyz(26.3726, 32.5026, 5.4566)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA112 #1812A1
analogous
#A15F12 #9BA112 #54A112
triadic
#9BA112 #129BA1 #A1129B
tetradic
#9BA112 #12A15F #1812A1 #A11254
square
#9BA112 #12A15F #1812A1 #A11254
split-complementary
#9BA112 #1254A1 #5F12A1
monochromatic
#313306 #666A0C #9BA112 #D0D818 #E3EA43

Accessibility & contrast

On white

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

On black

7.50
#9BA112 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA112
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA112#FFFFFF#000000##000000
##9BA1121.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba112;
/* rgb */ color: rgb(155, 161, 18);
/* oklch */ color: oklch(68.2% 0.147 112.4);
Tailwind
colors: {
  custom: {
    50: '#bdbc63',
    500: '#9ba112',
    950: '#000000',
  },
}
SCSS
$custom: #9ba112;
$custom-light: #bdbc63;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba112",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 18
  },
  "hsl": {
    "h": 62.517,
    "s": 79.888,
    "l": 35.098
  },
  "oklch": {
    "l": 0.68152,
    "c": 0.14734,
    "h": 112.4
  },
  "luminance": 0.32502
}

Semantic roles & 50–950 ramp

primary
#9BA112
secondary
#4A45CA
accent
#31F63A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131206
muted
#82817A

Preview Lab

Preview with #9BA112

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

Preview Lab → · Contrast checker → · Palette generator →

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