#9BAA25#9BAA25

#9BAA25 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.149 H 116.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#9BAA25
RGBrgb(155, 170, 37)
HSLhsl(67, 64%, 41%)
HSVhsv(67, 78%, 67%)
CMYKcmyk(8.8%, 0%, 78.2%, 33.3%)
CIE-LABlab(66.41, -21.61, 61.27)
CIE-LCHlch(66.41, 64.97, 109.43°)
OKLaboklab(70.3% -0.0658 0.134)
OKLCHoklch(70.3% 0.149 116.2)
XYZxyz(28.2270, 35.8520, 7.1831)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAA25 #3425AA
analogous
#AA7625 #9BAA25 #58AA25
triadic
#9BAA25 #259BAA #AA259B
tetradic
#9BAA25 #25AA76 #3425AA #AA2558
square
#9BAA25 #25AA76 #3425AA #AA2558
split-complementary
#9BAA25 #2558AA #7625AA
monochromatic
#3F450F #6D781A #9BAA25 #C2D438 #D2DF6B

Accessibility & contrast

On white

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

On black

8.17
#9BAA25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAA25
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAA25#FFFFFF#000000##000000
##9BAA251.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B5A232
Tritanopia (blue-blind)
#A5A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9baa25;
/* rgb */ color: rgb(155, 170, 37);
/* oklch */ color: oklch(70.3% 0.149 116.2);
Tailwind
colors: {
  custom: {
    50: '#bcc36b',
    500: '#9baa25',
    950: '#000000',
  },
}
SCSS
$custom: #9baa25;
$custom-light: #bcc36b;
$custom-dark: #000000;
JSON
{
  "hex": "#9baa25",
  "rgb": {
    "r": 155,
    "g": 170,
    "b": 37
  },
  "hsl": {
    "h": 66.767,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70301,
    "c": 0.14931,
    "h": 116.2
  },
  "luminance": 0.35852
}

Semantic roles & 50–950 ramp

primary
#9BAA25
secondary
#7166C5
accent
#41E753
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAA25

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

Preview Lab → · Contrast checker → · Palette generator →

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