#9BA628#9BA628

#9BA628 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.4% C 0.143 H 114.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9BA628
RGBrgb(155, 166, 40)
HSLhsl(65, 61%, 40%)
HSVhsv(65, 76%, 65%)
CMYKcmyk(6.6%, 0%, 75.9%, 34.9%)
CIE-LABlab(65.27, -19.47, 59.27)
CIE-LCHlch(65.27, 62.39, 108.19°)
OKLaboklab(69.4% -0.0597 0.1303)
OKLCHoklch(69.4% 0.143 114.6)
XYZxyz(27.5376, 34.3947, 7.1953)
Luminance0.3439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA628 #3328A6
analogous
#A67228 #9BA628 #5CA628
triadic
#9BA628 #289BA6 #A6289B
tetradic
#9BA628 #28A672 #3328A6 #A6285C
square
#9BA628 #28A672 #3328A6 #A6285C
split-complementary
#9BA628 #285CA6 #7228A6
monochromatic
#3F4310 #6D751C #9BA628 #C3D03B #D2DC6D

Accessibility & contrast

On white

2.67
#9BA628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#9BA628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA628
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA628#FFFFFF#000000##000000
##9BA6281.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D09
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#A59C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba628;
/* rgb */ color: rgb(155, 166, 40);
/* oklch */ color: oklch(69.4% 0.143 114.6);
Tailwind
colors: {
  custom: {
    50: '#bcc06c',
    500: '#9ba628',
    950: '#000000',
  },
}
SCSS
$custom: #9ba628;
$custom-light: #bcc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba628",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 65.238,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69397,
    "c": 0.14332,
    "h": 114.6
  },
  "luminance": 0.34394
}

Semantic roles & 50–950 ramp

primary
#9BA628
secondary
#6F67C2
accent
#44E452
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA628

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

Preview Lab → · Contrast checker → · Palette generator →

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