#9BA339#9BA339

#9BA339 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.8% C 0.129 H 113.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9BA339
RGBrgb(155, 163, 57)
HSLhsl(65, 48%, 43%)
HSVhsv(65, 65%, 64%)
CMYKcmyk(4.9%, 0%, 65%, 36.1%)
CIE-LABlab(64.53, -17.00, 52.09)
CIE-LCHlch(64.53, 54.79, 108.08°)
OKLaboklab(68.84% -0.0511 0.118)
OKLCHoklch(68.84% 0.129 113.4)
XYZxyz(27.3540, 33.4589, 8.8873)
Luminance0.3346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA339 #4139A3
analogous
#A37639 #9BA339 #66A339
triadic
#9BA339 #399BA3 #A3399B
tetradic
#9BA339 #39A376 #4139A3 #A33966
square
#9BA339 #39A376 #4139A3 #A33966
split-complementary
#9BA339 #3966A3 #7639A3
monochromatic
#454819 #707629 #9BA339 #BBC455 #CDD483

Accessibility & contrast

On white

2.73
#9BA339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#9BA339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA339
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA339#FFFFFF#000000##000000
##9BA3391.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B2B
Deuteranopia (green-blind)
#AF9E40
Tritanopia (blue-blind)
#A59A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba339;
/* rgb */ color: rgb(155, 163, 57);
/* oklch */ color: oklch(68.8% 0.129 113.4);
Tailwind
colors: {
  custom: {
    50: '#bbbe75',
    500: '#9ba339',
    950: '#000000',
  },
}
SCSS
$custom: #9ba339;
$custom-light: #bbbe75;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba339",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 57
  },
  "hsl": {
    "h": 64.528,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68837,
    "c": 0.12864,
    "h": 113.4
  },
  "luminance": 0.33458
}

Semantic roles & 50–950 ramp

primary
#9BA339
secondary
#807ABD
accent
#50D85A
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9BA339

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

Preview Lab → · Contrast checker → · Palette generator →

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