#9BA626#9BA626

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

Color values

HEX#9BA626
RGBrgb(155, 166, 38)
HSLhsl(65, 63%, 40%)
HSVhsv(65, 77%, 65%)
CMYKcmyk(6.6%, 0%, 77.1%, 34.9%)
CIE-LABlab(65.26, -19.56, 59.91)
CIE-LCHlch(65.26, 63.02, 108.08°)
OKLaboklab(69.39% -0.0601 0.1313)
OKLCHoklch(69.39% 0.144 114.6)
XYZxyz(27.5045, 34.3815, 7.0207)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA626 #3126A6
analogous
#A67126 #9BA626 #5BA626
triadic
#9BA626 #269BA6 #A6269B
tetradic
#9BA626 #26A671 #3126A6 #A6265B
square
#9BA626 #26A671 #3126A6 #A6265B
split-complementary
#9BA626 #265BA6 #7126A6
monochromatic
#3E420F #6D741B #9BA626 #C4D138 #D3DD6A

Accessibility & contrast

On white

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

On black

7.88
#9BA626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA626
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA626#FFFFFF#000000##000000
##9BA6261.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba626;
/* rgb */ color: rgb(155, 166, 38);
/* oklch */ color: oklch(69.4% 0.144 114.6);
Tailwind
colors: {
  custom: {
    50: '#bcc06b',
    500: '#9ba626',
    950: '#000000',
  },
}
SCSS
$custom: #9ba626;
$custom-light: #bcc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba626",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 65.156,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.69386,
    "c": 0.1444,
    "h": 114.6
  },
  "luminance": 0.34381
}

Semantic roles & 50–950 ramp

primary
#9BA626
secondary
#6D65C3
accent
#42E650
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA626

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

Preview Lab → · Contrast checker → · Palette generator →

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