#9BA422#9BA422

#9BA422 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.9% C 0.144 H 113.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9BA422
RGBrgb(155, 164, 34)
HSLhsl(64, 66%, 39%)
HSVhsv(64, 79%, 64%)
CMYKcmyk(5.5%, 0%, 79.3%, 35.7%)
CIE-LABlab(64.67, -18.71, 60.61)
CIE-LCHlch(64.67, 63.43, 107.15°)
OKLaboklab(68.91% -0.058 0.1321)
OKLCHoklch(68.91% 0.144 113.7)
XYZxyz(27.0826, 33.6355, 6.5787)
Luminance0.3363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA422 #2B22A4
analogous
#A46C22 #9BA422 #5AA422
triadic
#9BA422 #229BA4 #A4229B
tetradic
#9BA422 #22A46C #2B22A4 #A4225A
square
#9BA422 #22A46C #2B22A4 #A4225A
split-complementary
#9BA422 #225AA4 #6C22A4
monochromatic
#3B3F0D #6B7117 #9BA422 #C9D42F #D6DE62

Accessibility & contrast

On white

2.72
#9BA422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9BA422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA422
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA422#FFFFFF#000000##000000
##9BA4221.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09E2E
Tritanopia (blue-blind)
#A69A8C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba422;
/* rgb */ color: rgb(155, 164, 34);
/* oklch */ color: oklch(68.9% 0.144 113.7);
Tailwind
colors: {
  custom: {
    50: '#bcbe69',
    500: '#9ba422',
    950: '#000000',
  },
}
SCSS
$custom: #9ba422;
$custom-light: #bcbe69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba422",
  "rgb": {
    "r": 155,
    "g": 164,
    "b": 34
  },
  "hsl": {
    "h": 64.154,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68905,
    "c": 0.14426,
    "h": 113.7
  },
  "luminance": 0.33635
}

Semantic roles & 50–950 ramp

primary
#9BA422
secondary
#655EC4
accent
#3FE94B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA422

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

Preview Lab → · Contrast checker → · Palette generator →

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