#9BA620#9BA620

#9BA620 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.147 H 114.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9BA620
RGBrgb(155, 166, 32)
HSLhsl(65, 68%, 39%)
HSVhsv(65, 81%, 65%)
CMYKcmyk(6.6%, 0%, 80.7%, 34.9%)
CIE-LABlab(65.24, -19.80, 61.69)
CIE-LCHlch(65.24, 64.79, 107.79°)
OKLaboklab(69.35% -0.0612 0.134)
OKLCHoklch(69.35% 0.147 114.5)
XYZxyz(27.4153, 34.3458, 6.5514)
Luminance0.3434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA620 #2B20A6
analogous
#A66E20 #9BA620 #58A620
triadic
#9BA620 #209BA6 #A6209B
tetradic
#9BA620 #20A66E #2B20A6 #A62058
square
#9BA620 #20A66E #2B20A6 #A62058
split-complementary
#9BA620 #2058A6 #6E20A6
monochromatic
#3B3F0C #6B7316 #9BA620 #C9D62D #D6E060

Accessibility & contrast

On white

2.67
#9BA620 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#9BA620 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA620
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA620#FFFFFF#000000##000000
##9BA6201.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#B29F2D
Tritanopia (blue-blind)
#A69C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba620;
/* rgb */ color: rgb(155, 166, 32);
/* oklch */ color: oklch(69.4% 0.147 114.5);
Tailwind
colors: {
  custom: {
    50: '#bcc069',
    500: '#9ba620',
    950: '#000000',
  },
}
SCSS
$custom: #9ba620;
$custom-light: #bcc069;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba620",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 32
  },
  "hsl": {
    "h": 64.925,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.69354,
    "c": 0.14734,
    "h": 114.5
  },
  "luminance": 0.34345
}

Semantic roles & 50–950 ramp

primary
#9BA620
secondary
#655DC5
accent
#3DEB4B
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA620

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

Preview Lab → · Contrast checker → · Palette generator →

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