#9FB125#9FB125

#9FB125 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.156 H 117.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#9FB125
RGBrgb(159, 177, 37)
HSLhsl(68, 65%, 42%)
HSVhsv(68, 79%, 69%)
CMYKcmyk(10.2%, 0%, 79.1%, 30.6%)
CIE-LABlab(68.71, -23.38, 63.46)
CIE-LCHlch(68.71, 67.63, 110.22°)
OKLaboklab(72.23% -0.0709 0.1385)
OKLCHoklch(72.23% 0.156 117.1)
XYZxyz(30.3549, 38.9492, 7.6688)
Luminance0.3895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB125 #3725B1
analogous
#B17D25 #9FB125 #59B125
triadic
#9FB125 #259FB1 #B1259F
tetradic
#9FB125 #25B17D #3725B1 #B12559
square
#9FB125 #25B17D #3725B1 #B12559
split-complementary
#9FB125 #2559B1 #7D25B1
monochromatic
#444C10 #727E1A #9FB125 #C3D63D #D2E16F

Accessibility & contrast

On white

2.39
#9FB125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#9FB125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB125
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB125#FFFFFF#000000##000000
##9FB1251.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BCA833
Tritanopia (blue-blind)
#A9A797
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb125;
/* rgb */ color: rgb(159, 177, 37);
/* oklch */ color: oklch(72.2% 0.156 117.1);
Tailwind
colors: {
  custom: {
    50: '#bfc86c',
    500: '#9fb125',
    950: '#000000',
  },
}
SCSS
$custom: #9fb125;
$custom-light: #bfc86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb125",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 67.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72231,
    "c": 0.15563,
    "h": 117.1
  },
  "luminance": 0.38949
}

Semantic roles & 50–950 ramp

primary
#9FB125
secondary
#766AC8
accent
#3FE855
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9FB125

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

Preview Lab → · Contrast checker → · Palette generator →

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