#9BA12E#9BA12E

#9BA12E is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.134 H 112.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9BA12E
RGBrgb(155, 161, 46)
HSLhsl(63, 56%, 41%)
HSVhsv(63, 71%, 63%)
CMYKcmyk(3.7%, 0%, 71.4%, 36.9%)
CIE-LABlab(63.88, -16.62, 55.82)
CIE-LCHlch(63.88, 58.25, 106.58°)
OKLaboklab(68.29% -0.0512 0.1241)
OKLCHoklch(68.29% 0.134 112.4)
XYZxyz(26.7564, 32.6562, 7.4780)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA12E #342EA1
analogous
#A16D2E #9BA12E #62A12E
triadic
#9BA12E #2E9BA1 #A12E9B
tetradic
#9BA12E #2EA16D #342EA1 #A12E62
square
#9BA12E #2EA16D #342EA1 #A12E62
split-complementary
#9BA12E #2E62A1 #6D2EA1
monochromatic
#3F4213 #6D7120 #9BA12E #C2C943 #D2D773

Accessibility & contrast

On white

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

On black

7.53
#9BA12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA12E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA12E#FFFFFF#000000##000000
##9BA12E1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991A
Deuteranopia (green-blind)
#AE9C37
Tritanopia (blue-blind)
#A6978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba12e;
/* rgb */ color: rgb(155, 161, 46);
/* oklch */ color: oklch(68.3% 0.134 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbc6f',
    500: '#9ba12e',
    950: '#000000',
  },
}
SCSS
$custom: #9ba12e;
$custom-light: #bcbc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba12e",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 63.13,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68292,
    "c": 0.13425,
    "h": 112.4
  },
  "luminance": 0.32656
}

Semantic roles & 50–950 ramp

primary
#9BA12E
secondary
#716CBE
accent
#49DF51
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA12E

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

Preview Lab → · Contrast checker → · Palette generator →

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