#9BA426#9BA426

#9BA426 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.142 H 113.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9BA426
RGBrgb(155, 164, 38)
HSLhsl(64, 62%, 40%)
HSVhsv(64, 77%, 64%)
CMYKcmyk(5.5%, 0%, 76.8%, 35.7%)
CIE-LABlab(64.69, -18.54, 59.38)
CIE-LCHlch(64.69, 62.21, 107.34°)
OKLaboklab(68.93% -0.0573 0.1302)
OKLCHoklch(68.93% 0.142 113.7)
XYZxyz(27.1437, 33.6600, 6.9005)
Luminance0.3366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA426 #2F26A4
analogous
#A46E26 #9BA426 #5CA426
triadic
#9BA426 #269BA4 #A4269B
tetradic
#9BA426 #26A46E #2F26A4 #A4265C
square
#9BA426 #26A46E #2F26A4 #A4265C
split-complementary
#9BA426 #265CA4 #6E26A4
monochromatic
#3D410F #6C721A #9BA426 #C6D137 #D4DC68

Accessibility & contrast

On white

2.72
#9BA426 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9BA426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA426
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA426#FFFFFF#000000##000000
##9BA4261.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C04
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#A69A8C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba426;
/* rgb */ color: rgb(155, 164, 38);
/* oklch */ color: oklch(68.9% 0.142 113.7);
Tailwind
colors: {
  custom: {
    50: '#bcbe6b',
    500: '#9ba426',
    950: '#000000',
  },
}
SCSS
$custom: #9ba426;
$custom-light: #bcbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba426",
  "rgb": {
    "r": 155,
    "g": 164,
    "b": 38
  },
  "hsl": {
    "h": 64.286,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68927,
    "c": 0.14223,
    "h": 113.7
  },
  "luminance": 0.33659
}

Semantic roles & 50–950 ramp

primary
#9BA426
secondary
#6A64C2
accent
#42E54E
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA426

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

Preview Lab → · Contrast checker → · Palette generator →

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