#9BA113#9BA113

#9BA113 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#9BA113
RGBrgb(155, 161, 19)
HSLhsl(63, 79%, 35%)
HSVhsv(63, 88%, 63%)
CMYKcmyk(3.7%, 0%, 88.2%, 36.9%)
CIE-LABlab(63.76, -17.64, 63.58)
CIE-LCHlch(63.76, 65.98, 105.50°)
OKLaboklab(68.16% -0.0561 0.1359)
OKLCHoklch(68.16% 0.147 112.4)
XYZxyz(26.3809, 32.5060, 5.5006)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA113 #1913A1
analogous
#A16013 #9BA113 #54A113
triadic
#9BA113 #139BA1 #A1139B
tetradic
#9BA113 #13A160 #1913A1 #A11354
square
#9BA113 #13A160 #1913A1 #A11354
split-complementary
#9BA113 #1354A1 #6013A1
monochromatic
#323406 #666A0D #9BA113 #D0D819 #E2E945

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA113#FFFFFF#000000##000000
##9BA1131.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: #9ba113;
/* rgb */ color: rgb(155, 161, 19);
/* oklch */ color: oklch(68.2% 0.147 112.4);
Tailwind
colors: {
  custom: {
    50: '#bdbc64',
    500: '#9ba113',
    950: '#000000',
  },
}
SCSS
$custom: #9ba113;
$custom-light: #bdbc64;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba113",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 19
  },
  "hsl": {
    "h": 62.535,
    "s": 78.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.68155,
    "c": 0.14704,
    "h": 112.4
  },
  "luminance": 0.32505
}

Semantic roles & 50–950 ramp

primary
#9BA113
secondary
#4C46CA
accent
#32F53B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131206
muted
#82817A

Preview Lab

Preview with #9BA113

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

Preview Lab → · Contrast checker → · Palette generator →

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