#9BA925#9BA925

#9BA925 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.1% C 0.148 H 115.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#9BA925
RGBrgb(155, 169, 37)
HSLhsl(66, 64%, 40%)
HSVhsv(66, 78%, 66%)
CMYKcmyk(8.3%, 0%, 78.1%, 33.7%)
CIE-LABlab(66.12, -21.11, 61.01)
CIE-LCHlch(66.12, 64.56, 109.09°)
OKLaboklab(70.07% -0.0644 0.1335)
OKLCHoklch(70.07% 0.148 115.8)
XYZxyz(28.0402, 35.4785, 7.1208)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA925 #3325A9
analogous
#A97525 #9BA925 #59A925
triadic
#9BA925 #259BA9 #A9259B
tetradic
#9BA925 #25A975 #3325A9 #A92559
square
#9BA925 #25A975 #3325A9 #A92559
split-complementary
#9BA925 #2559A9 #7525A9
monochromatic
#3F450F #6D771A #9BA925 #C3D338 #D2DE6A

Accessibility & contrast

On white

2.59
#9BA925 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#9BA925 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA925
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA925#FFFFFF#000000##000000
##9BA9251.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B4A231
Tritanopia (blue-blind)
#A59F91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ba925;
/* rgb */ color: rgb(155, 169, 37);
/* oklch */ color: oklch(70.1% 0.148 115.8);
Tailwind
colors: {
  custom: {
    50: '#bcc26b',
    500: '#9ba925',
    950: '#000000',
  },
}
SCSS
$custom: #9ba925;
$custom-light: #bcc26b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba925",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 37
  },
  "hsl": {
    "h": 66.364,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70071,
    "c": 0.14821,
    "h": 115.8
  },
  "luminance": 0.35478
}

Semantic roles & 50–950 ramp

primary
#9BA925
secondary
#6F65C4
accent
#41E752
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA925

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

Preview Lab → · Contrast checker → · Palette generator →

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