#9BA62E#9BA62E

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

Color values

HEX#9BA62E
RGBrgb(155, 166, 46)
HSLhsl(66, 57%, 42%)
HSVhsv(66, 72%, 65%)
CMYKcmyk(6.6%, 0%, 72.3%, 34.9%)
CIE-LABlab(65.31, -19.18, 57.21)
CIE-LCHlch(65.31, 60.34, 108.53°)
OKLaboklab(69.44% -0.0583 0.127)
OKLCHoklch(69.44% 0.14 114.7)
XYZxyz(27.6477, 34.4388, 7.7751)
Luminance0.3444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA62E #392EA6
analogous
#A6752E #9BA62E #5FA62E
triadic
#9BA62E #2E9BA6 #A62E9B
tetradic
#9BA62E #2EA675 #392EA6 #A62E5F
square
#9BA62E #2EA675 #392EA6 #A62E5F
split-complementary
#9BA62E #2E5FA6 #752EA6
monochromatic
#424613 #6E7621 #9BA62E #BFCC46 #D0D976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA62E#FFFFFF#000000##000000
##9BA62E1.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)
#B29E18
Deuteranopia (green-blind)
#B1A038
Tritanopia (blue-blind)
#A59C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ba62e;
/* rgb */ color: rgb(155, 166, 46);
/* oklch */ color: oklch(69.4% 0.140 114.7);
Tailwind
colors: {
  custom: {
    50: '#bcc06f',
    500: '#9ba62e',
    950: '#000000',
  },
}
SCSS
$custom: #9ba62e;
$custom-light: #bcc06f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba62e",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 65.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69436,
    "c": 0.13977,
    "h": 114.7
  },
  "luminance": 0.34438
}

Semantic roles & 50–950 ramp

primary
#9BA62E
secondary
#776FC1
accent
#48E056
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA62E

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

Preview Lab → · Contrast checker → · Palette generator →

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