#9BA825#9BA825

#9BA825 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.8% C 0.147 H 115.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#9BA825
RGBrgb(155, 168, 37)
HSLhsl(66, 64%, 40%)
HSVhsv(66, 78%, 66%)
CMYKcmyk(7.7%, 0%, 78%, 34.1%)
CIE-LABlab(65.83, -20.61, 60.75)
CIE-LCHlch(65.83, 64.15, 108.74°)
OKLaboklab(69.84% -0.0631 0.1329)
OKLCHoklch(69.84% 0.147 115.4)
XYZxyz(27.8549, 35.1079, 7.0590)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA825 #3225A8
analogous
#A87325 #9BA825 #5AA825
triadic
#9BA825 #259BA8 #A8259B
tetradic
#9BA825 #25A873 #3225A8 #A8255A
square
#9BA825 #25A873 #3225A8 #A8255A
split-complementary
#9BA825 #255AA8 #7325A8
monochromatic
#3E440F #6D761A #9BA825 #C4D337 #D2DE69

Accessibility & contrast

On white

2.62
#9BA825 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#9BA825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA825
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA825#FFFFFF#000000##000000
##9BA8251.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B3A131
Tritanopia (blue-blind)
#A59E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba825;
/* rgb */ color: rgb(155, 168, 37);
/* oklch */ color: oklch(69.8% 0.147 115.4);
Tailwind
colors: {
  custom: {
    50: '#bcc16b',
    500: '#9ba825',
    950: '#000000',
  },
}
SCSS
$custom: #9ba825;
$custom-light: #bcc16b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba825",
  "rgb": {
    "r": 155,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 65.954,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6984,
    "c": 0.1471,
    "h": 115.4
  },
  "luminance": 0.35107
}

Semantic roles & 50–950 ramp

primary
#9BA825
secondary
#6E65C4
accent
#41E751
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA825

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

Preview Lab → · Contrast checker → · Palette generator →

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