#9BA126#9BA126

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

Color values

HEX#9BA126
RGBrgb(155, 161, 38)
HSLhsl(63, 62%, 39%)
HSVhsv(63, 76%, 63%)
CMYKcmyk(3.7%, 0%, 76.4%, 36.9%)
CIE-LABlab(63.83, -17.01, 58.59)
CIE-LCHlch(63.83, 61.01, 106.19°)
OKLaboklab(68.24% -0.053 0.1285)
OKLCHoklch(68.24% 0.139 112.4)
XYZxyz(26.6132, 32.5989, 6.7236)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA126 #2C26A1
analogous
#A16A26 #9BA126 #5EA126
triadic
#9BA126 #269BA1 #A1269B
tetradic
#9BA126 #26A16A #2C26A1 #A1265E
square
#9BA126 #26A16A #2C26A1 #A1265E
split-complementary
#9BA126 #265EA1 #6A26A1
monochromatic
#3C3E0F #6B6F1A #9BA126 #C8CF35 #D5DB66

Accessibility & contrast

On white

2.79
#9BA126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#9BA126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA126
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA126#FFFFFF#000000##000000
##9BA1261.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba126;
/* rgb */ color: rgb(155, 161, 38);
/* oklch */ color: oklch(68.2% 0.139 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbc6b',
    500: '#9ba126',
    950: '#000000',
  },
}
SCSS
$custom: #9ba126;
$custom-light: #bcbc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba126",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 62.927,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6824,
    "c": 0.13901,
    "h": 112.4
  },
  "luminance": 0.32598
}

Semantic roles & 50–950 ramp

primary
#9BA126
secondary
#6762C1
accent
#43E54B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA126

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

Preview Lab → · Contrast checker → · Palette generator →

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