#9BA22D#9BA22D

#9BA22D is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.5% C 0.136 H 112.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9BA22D
RGBrgb(155, 162, 45)
HSLhsl(64, 57%, 41%)
HSVhsv(64, 72%, 64%)
CMYKcmyk(4.3%, 0%, 72.2%, 36.5%)
CIE-LABlab(64.16, -17.19, 56.46)
CIE-LCHlch(64.16, 59.02, 106.93°)
OKLaboklab(68.51% -0.0529 0.1253)
OKLCHoklch(68.51% 0.136 112.9)
XYZxyz(26.9124, 32.9993, 7.4339)
Luminance0.3300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA22D #342DA2
analogous
#A26E2D #9BA22D #60A22D
triadic
#9BA22D #2D9BA2 #A22D9B
tetradic
#9BA22D #2DA26E #342DA2 #A22D60
square
#9BA22D #2DA26E #342DA2 #A22D60
split-complementary
#9BA22D #2D60A2 #6E2DA2
monochromatic
#3F4212 #6D7220 #9BA22D #C2CA42 #D2D872

Accessibility & contrast

On white

2.76
#9BA22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#9BA22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA22D
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA22D#FFFFFF#000000##000000
##9BA22D1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A18
Deuteranopia (green-blind)
#AE9D36
Tritanopia (blue-blind)
#A6988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba22d;
/* rgb */ color: rgb(155, 162, 45);
/* oklch */ color: oklch(68.5% 0.136 112.9);
Tailwind
colors: {
  custom: {
    50: '#bcbd6e',
    500: '#9ba22d',
    950: '#000000',
  },
}
SCSS
$custom: #9ba22d;
$custom-light: #bcbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba22d",
  "rgb": {
    "r": 155,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 63.59,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68514,
    "c": 0.13597,
    "h": 112.9
  },
  "luminance": 0.32999
}

Semantic roles & 50–950 ramp

primary
#9BA22D
secondary
#716CBF
accent
#48E051
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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