#9BA326#9BA326

#9BA326 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.141 H 113.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9BA326
RGBrgb(155, 163, 38)
HSLhsl(64, 62%, 39%)
HSVhsv(64, 77%, 64%)
CMYKcmyk(4.9%, 0%, 76.7%, 36.1%)
CIE-LABlab(64.41, -18.03, 59.12)
CIE-LCHlch(64.41, 61.81, 106.96°)
OKLaboklab(68.7% -0.0558 0.1296)
OKLCHoklch(68.7% 0.141 113.3)
XYZxyz(26.9655, 33.3035, 6.8411)
Luminance0.3330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA326 #2E26A3
analogous
#A36D26 #9BA326 #5DA326
triadic
#9BA326 #269BA3 #A3269B
tetradic
#9BA326 #26A36D #2E26A3 #A3265D
square
#9BA326 #26A36D #2E26A3 #A3265D
split-complementary
#9BA326 #265DA3 #6D26A3
monochromatic
#3D400F #6C711A #9BA326 #C6D036 #D4DC68

Accessibility & contrast

On white

2.74
#9BA326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#9BA326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA326
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA326#FFFFFF#000000##000000
##9BA3261.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B05
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#A6998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba326;
/* rgb */ color: rgb(155, 163, 38);
/* oklch */ color: oklch(68.7% 0.141 113.3);
Tailwind
colors: {
  custom: {
    50: '#bcbe6b',
    500: '#9ba326',
    950: '#000000',
  },
}
SCSS
$custom: #9ba326;
$custom-light: #bcbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba326",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 63.84,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68698,
    "c": 0.14115,
    "h": 113.3
  },
  "luminance": 0.33303
}

Semantic roles & 50–950 ramp

primary
#9BA326
secondary
#6963C2
accent
#43E54D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA326

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

Preview Lab → · Contrast checker → · Palette generator →

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