#9BA142#9BA142

#9BA142 is a light, moderate yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.119 H 112.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9BA142
RGBrgb(155, 161, 66)
HSLhsl(64, 42%, 45%)
HSVhsv(64, 59%, 63%)
CMYKcmyk(3.7%, 0%, 59%, 36.9%)
CIE-LABlab(64.04, -15.32, 47.59)
CIE-LCHlch(64.04, 50.00, 107.85°)
OKLaboklab(68.47% -0.0454 0.1098)
OKLCHoklch(68.47% 0.119 112.5)
XYZxyz(27.2465, 32.8522, 10.0590)
Luminance0.3285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA142 #4842A1
analogous
#A17742 #9BA142 #6CA142
triadic
#9BA142 #429BA1 #A1429B
tetradic
#9BA142 #42A177 #4842A1 #A1426C
square
#9BA142 #42A177 #4842A1 #A1426C
split-complementary
#9BA142 #426CA1 #7742A1
monochromatic
#474A1E #717630 #9BA142 #B9BF62 #CCD08D

Accessibility & contrast

On white

2.77
#9BA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#9BA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA142
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA142#FFFFFF#000000##000000
##9BA1421.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A38
Deuteranopia (green-blind)
#AC9C48
Tritanopia (blue-blind)
#A5988D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba142;
/* rgb */ color: rgb(155, 161, 66);
/* oklch */ color: oklch(68.5% 0.119 112.5);
Tailwind
colors: {
  custom: {
    50: '#bbbc7a',
    500: '#9ba142',
    950: '#000000',
  },
}
SCSS
$custom: #9ba142;
$custom-light: #bbbc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba142",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 63.789,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68471,
    "c": 0.11881,
    "h": 112.5
  },
  "luminance": 0.32852
}

Semantic roles & 50–950 ramp

primary
#9BA142
secondary
#8783BB
accent
#56D25E
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9BA142

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

Preview Lab → · Contrast checker → · Palette generator →

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