#9BAF25#9BAF25

#9BAF25 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.5% C 0.155 H 118.0°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#9BAF25
RGBrgb(155, 175, 37)
HSLhsl(69, 65%, 42%)
HSVhsv(69, 79%, 69%)
CMYKcmyk(11.4%, 0%, 78.9%, 31.4%)
CIE-LABlab(67.85, -24.09, 62.57)
CIE-LCHlch(67.85, 67.05, 111.06°)
OKLaboklab(71.46% -0.0727 0.1368)
OKLCHoklch(71.46% 0.155 118)
XYZxyz(29.1822, 37.7624, 7.5015)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAF25 #3925AF
analogous
#AF7E25 #9BAF25 #56AF25
triadic
#9BAF25 #259BAF #AF259B
tetradic
#9BAF25 #25AF7E #3925AF #AF2556
square
#9BAF25 #25AF7E #3925AF #AF2556
split-complementary
#9BAF25 #2556AF #7E25AF
monochromatic
#424A10 #6E7C1A #9BAF25 #BFD63C #D0E06E

Accessibility & contrast

On white

2.46
#9BAF25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#9BAF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAF25
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAF25#FFFFFF#000000##000000
##9BAF251.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#A5A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9baf25;
/* rgb */ color: rgb(155, 175, 37);
/* oklch */ color: oklch(71.5% 0.155 118.0);
Tailwind
colors: {
  custom: {
    50: '#bcc66c',
    500: '#9baf25',
    950: '#000000',
  },
}
SCSS
$custom: #9baf25;
$custom-light: #bcc66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9baf25",
  "rgb": {
    "r": 155,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 68.696,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71458,
    "c": 0.15488,
    "h": 118
  },
  "luminance": 0.37762
}

Semantic roles & 50–950 ramp

primary
#9BAF25
secondary
#7769C7
accent
#40E858
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9BAF25

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

Preview Lab → · Contrast checker → · Palette generator →

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