#9BA328#9BA328

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

Color values

HEX#9BA328
RGBrgb(155, 163, 40)
HSLhsl(64, 61%, 40%)
HSVhsv(64, 75%, 64%)
CMYKcmyk(4.9%, 0%, 75.5%, 36.1%)
CIE-LABlab(64.42, -17.94, 58.47)
CIE-LCHlch(64.42, 61.16, 107.06°)
OKLaboklab(68.71% -0.0554 0.1286)
OKLCHoklch(68.71% 0.14 113.3)
XYZxyz(26.9986, 33.3167, 7.0156)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA328 #3028A3
analogous
#A36D28 #9BA328 #5EA328
triadic
#9BA328 #289BA3 #A3289B
tetradic
#9BA328 #28A36D #3028A3 #A3285E
square
#9BA328 #28A36D #3028A3 #A3285E
split-complementary
#9BA328 #285EA3 #6D28A3
monochromatic
#3E4110 #6C721C #9BA328 #C5CF3A #D3DB6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA328#FFFFFF#000000##000000
##9BA3281.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)
#AF9B0B
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#A6998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba328;
/* rgb */ color: rgb(155, 163, 40);
/* oklch */ color: oklch(68.7% 0.140 113.3);
Tailwind
colors: {
  custom: {
    50: '#bcbe6c',
    500: '#9ba328',
    950: '#000000',
  },
}
SCSS
$custom: #9ba328;
$custom-light: #bcbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba328",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 63.902,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68709,
    "c": 0.14005,
    "h": 113.3
  },
  "luminance": 0.33316
}

Semantic roles & 50–950 ramp

primary
#9BA328
secondary
#6C66C1
accent
#44E44E
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA328

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

Preview Lab → · Contrast checker → · Palette generator →

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