#9BA62D#9BA62D

#9BA62D is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.4% C 0.140 H 114.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#9BA62D
RGBrgb(155, 166, 45)
HSLhsl(65, 57%, 41%)
HSVhsv(65, 73%, 65%)
CMYKcmyk(6.6%, 0%, 72.9%, 34.9%)
CIE-LABlab(65.30, -19.23, 57.57)
CIE-LCHlch(65.30, 60.70, 108.47°)
OKLaboklab(69.43% -0.0585 0.1276)
OKLCHoklch(69.43% 0.14 114.6)
XYZxyz(27.6282, 34.4310, 7.6725)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA62D #382DA6
analogous
#A6752D #9BA62D #5FA62D
triadic
#9BA62D #2D9BA6 #A62D9B
tetradic
#9BA62D #2DA675 #382DA6 #A62D5F
square
#9BA62D #2DA675 #382DA6 #A62D5F
split-complementary
#9BA62D #2D5FA6 #752DA6
monochromatic
#414613 #6E7620 #9BA62D #C0CC44 #D0D974

Accessibility & contrast

On white

2.66
#9BA62D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#9BA62D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA62D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA62D#FFFFFF#000000##000000
##9BA62D1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E16
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#A59C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ba62d;
/* rgb */ color: rgb(155, 166, 45);
/* oklch */ color: oklch(69.4% 0.140 114.6);
Tailwind
colors: {
  custom: {
    50: '#bcc06f',
    500: '#9ba62d',
    950: '#000000',
  },
}
SCSS
$custom: #9ba62d;
$custom-light: #bcc06f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba62d",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 65.455,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69429,
    "c": 0.1404,
    "h": 114.6
  },
  "luminance": 0.3443
}

Semantic roles & 50–950 ramp

primary
#9BA62D
secondary
#756EC1
accent
#47E155
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA62D

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

Preview Lab → · Contrast checker → · Palette generator →

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