#9BA125#9BA125

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

Color values

HEX#9BA125
RGBrgb(155, 161, 37)
HSLhsl(63, 63%, 39%)
HSVhsv(63, 77%, 63%)
CMYKcmyk(3.7%, 0%, 77%, 36.9%)
CIE-LABlab(63.83, -17.05, 58.92)
CIE-LCHlch(63.83, 61.33, 106.14°)
OKLaboklab(68.23% -0.0532 0.129)
OKLCHoklch(68.23% 0.14 112.4)
XYZxyz(26.5972, 32.5925, 6.6398)
Luminance0.3259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA125 #2B25A1
analogous
#A16925 #9BA125 #5DA125
triadic
#9BA125 #259BA1 #A1259B
tetradic
#9BA125 #25A169 #2B25A1 #A1255D
square
#9BA125 #25A169 #2B25A1 #A1255D
split-complementary
#9BA125 #255DA1 #6925A1
monochromatic
#3B3D0E #6B6F1A #9BA125 #C9D033 #D6DC65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA125#FFFFFF#000000##000000
##9BA1251.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)
#AE9903
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#A6978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba125;
/* rgb */ color: rgb(155, 161, 37);
/* oklch */ color: oklch(68.2% 0.140 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbc6a',
    500: '#9ba125',
    950: '#000000',
  },
}
SCSS
$custom: #9ba125;
$custom-light: #bcbc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba125",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 62.903,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68234,
    "c": 0.13955,
    "h": 112.4
  },
  "luminance": 0.32592
}

Semantic roles & 50–950 ramp

primary
#9BA125
secondary
#6561C1
accent
#42E64A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA125

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

Preview Lab → · Contrast checker → · Palette generator →

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