#9BA52D#9BA52D

#9BA52D is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.2% C 0.139 H 114.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9BA52D
RGBrgb(155, 165, 45)
HSLhsl(65, 57%, 41%)
HSVhsv(65, 73%, 65%)
CMYKcmyk(6.1%, 0%, 72.7%, 35.3%)
CIE-LABlab(65.02, -18.72, 57.29)
CIE-LCHlch(65.02, 60.28, 108.10°)
OKLaboklab(69.2% -0.0571 0.127)
OKLCHoklch(69.2% 0.139 114.2)
XYZxyz(27.4471, 34.0688, 7.6122)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA52D #372DA5
analogous
#A5732D #9BA52D #5FA52D
triadic
#9BA52D #2D9BA5 #A52D9B
tetradic
#9BA52D #2DA573 #372DA5 #A52D5F
square
#9BA52D #2DA573 #372DA5 #A52D5F
split-complementary
#9BA52D #2D5FA5 #732DA5
monochromatic
#414513 #6E7520 #9BA52D #C0CC43 #D0D973

Accessibility & contrast

On white

2.69
#9BA52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#9BA52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA52D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA52D#FFFFFF#000000##000000
##9BA52D1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D16
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#A59B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba52d;
/* rgb */ color: rgb(155, 165, 45);
/* oklch */ color: oklch(69.2% 0.139 114.2);
Tailwind
colors: {
  custom: {
    50: '#bcbf6f',
    500: '#9ba52d',
    950: '#000000',
  },
}
SCSS
$custom: #9ba52d;
$custom-light: #bcbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba52d",
  "rgb": {
    "r": 155,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 65,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.692,
    "c": 0.13928,
    "h": 114.2
  },
  "luminance": 0.34068
}

Semantic roles & 50–950 ramp

primary
#9BA52D
secondary
#746DC1
accent
#47E054
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA52D

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

Preview Lab → · Contrast checker → · Palette generator →

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