#9BAA30#9BAA30

#9BAA30 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.143 H 116.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#9BAA30
RGBrgb(155, 170, 48)
HSLhsl(67, 56%, 43%)
HSVhsv(67, 72%, 67%)
CMYKcmyk(8.8%, 0%, 71.8%, 33.3%)
CIE-LABlab(66.47, -21.09, 57.61)
CIE-LCHlch(66.47, 61.35, 110.11°)
OKLaboklab(70.37% -0.0634 0.1282)
OKLCHoklch(70.37% 0.143 116.3)
XYZxyz(28.4265, 35.9318, 8.2338)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAA30 #3F30AA
analogous
#AA7C30 #9BAA30 #5EAA30
triadic
#9BAA30 #309BAA #AA309B
tetradic
#9BAA30 #30AA7C #3F30AA #AA305E
square
#9BAA30 #30AA7C #3F30AA #AA305E
split-complementary
#9BAA30 #305EAA #7C30AA
monochromatic
#444B15 #6F7A23 #9BAA30 #BCCC4B #CEDA7B

Accessibility & contrast

On white

2.57
#9BAA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#9BAA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAA30
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAA30#FFFFFF#000000##000000
##9BAA301.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11A
Deuteranopia (green-blind)
#B5A23A
Tritanopia (blue-blind)
#A5A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9baa30;
/* rgb */ color: rgb(155, 170, 48);
/* oklch */ color: oklch(70.4% 0.143 116.3);
Tailwind
colors: {
  custom: {
    50: '#bcc371',
    500: '#9baa30',
    950: '#000000',
  },
}
SCSS
$custom: #9baa30;
$custom-light: #bcc371;
$custom-dark: #000000;
JSON
{
  "hex": "#9baa30",
  "rgb": {
    "r": 155,
    "g": 170,
    "b": 48
  },
  "hsl": {
    "h": 67.377,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7037,
    "c": 0.14305,
    "h": 116.3
  },
  "luminance": 0.35931
}

Semantic roles & 50–950 ramp

primary
#9BAA30
secondary
#7D74C2
accent
#49DF5B
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAA30

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

Preview Lab → · Contrast checker → · Palette generator →

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