#9BA826#9BA826

#9BA826 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.8% C 0.147 H 115.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#9BA826
RGBrgb(155, 168, 38)
HSLhsl(66, 63%, 40%)
HSVhsv(66, 77%, 66%)
CMYKcmyk(7.7%, 0%, 77.4%, 34.1%)
CIE-LABlab(65.84, -20.57, 60.44)
CIE-LCHlch(65.84, 63.84, 108.79°)
OKLaboklab(69.85% -0.0629 0.1324)
OKLCHoklch(69.85% 0.147 115.4)
XYZxyz(27.8708, 35.1142, 7.1429)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA826 #3326A8
analogous
#A87426 #9BA826 #5AA826
triadic
#9BA826 #269BA8 #A8269B
tetradic
#9BA826 #26A874 #3326A8 #A8265A
square
#9BA826 #26A874 #3326A8 #A8265A
split-complementary
#9BA826 #265AA8 #7426A8
monochromatic
#3F440F #6D761B #9BA826 #C3D239 #D2DE6B

Accessibility & contrast

On white

2.62
#9BA826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#9BA826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA826
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA826#FFFFFF#000000##000000
##9BA8261.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F01
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#A59E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba826;
/* rgb */ color: rgb(155, 168, 38);
/* oklch */ color: oklch(69.8% 0.147 115.4);
Tailwind
colors: {
  custom: {
    50: '#bcc16c',
    500: '#9ba826',
    950: '#000000',
  },
}
SCSS
$custom: #9ba826;
$custom-light: #bcc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba826",
  "rgb": {
    "r": 155,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 66,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69846,
    "c": 0.14659,
    "h": 115.4
  },
  "luminance": 0.35114
}

Semantic roles & 50–950 ramp

primary
#9BA826
secondary
#6F66C4
accent
#42E652
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA826

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

Preview Lab → · Contrast checker → · Palette generator →

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