#9BA428#9BA428

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

Color values

HEX#9BA428
RGBrgb(155, 164, 40)
HSLhsl(64, 61%, 40%)
HSVhsv(64, 76%, 64%)
CMYKcmyk(5.5%, 0%, 75.6%, 35.7%)
CIE-LABlab(64.70, -18.45, 58.74)
CIE-LCHlch(64.70, 61.57, 107.44°)
OKLaboklab(68.94% -0.0568 0.1292)
OKLCHoklch(68.94% 0.141 113.8)
XYZxyz(27.1769, 33.6732, 7.0750)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA428 #3128A4
analogous
#A46F28 #9BA428 #5DA428
triadic
#9BA428 #289BA4 #A4289B
tetradic
#9BA428 #28A46F #3128A4 #A4285D
square
#9BA428 #28A46F #3128A4 #A4285D
split-complementary
#9BA428 #285DA4 #6F28A4
monochromatic
#3E4210 #6C731C #9BA428 #C4CF3A #D3DB6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA428#FFFFFF#000000##000000
##9BA4281.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)
#B09C0A
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#A69A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba428;
/* rgb */ color: rgb(155, 164, 40);
/* oklch */ color: oklch(68.9% 0.141 113.8);
Tailwind
colors: {
  custom: {
    50: '#bcbe6c',
    500: '#9ba428',
    950: '#000000',
  },
}
SCSS
$custom: #9ba428;
$custom-light: #bcbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba428",
  "rgb": {
    "r": 155,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 64.355,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.68939,
    "c": 0.14114,
    "h": 113.8
  },
  "luminance": 0.33673
}

Semantic roles & 50–950 ramp

primary
#9BA428
secondary
#6D66C1
accent
#44E450
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA428

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

Preview Lab → · Contrast checker → · Palette generator →

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