#9FB538#9FB538

#9FB538 is a light, vivid yellow-green. Relative luminance 0.407; OKLCH L 73.3% C 0.149 H 118.9°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#9FB538
RGBrgb(159, 181, 56)
HSLhsl(71, 53%, 46%)
HSVhsv(71, 69%, 71%)
CMYKcmyk(12.2%, 0%, 69.1%, 29%)
CIE-LABlab(69.97, -24.41, 58.18)
CIE-LCHlch(69.97, 63.09, 112.76°)
OKLaboklab(73.27% -0.0721 0.1306)
OKLCHoklch(73.27% 0.149 118.9)
XYZxyz(31.5364, 40.7044, 9.9360)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB538 #4E38B5
analogous
#B58D38 #9FB538 #61B538
triadic
#9FB538 #389FB5 #B5389F
tetradic
#9FB538 #38B58D #4E38B5 #B53861
square
#9FB538 #38B58D #4E38B5 #B53861
split-complementary
#9FB538 #3861B5 #8D38B5
monochromatic
#4D581B #76862A #9FB538 #B9CD5D #CDDB8C

Accessibility & contrast

On white

2.30
#9FB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#9FB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB538
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB538#FFFFFF#000000##000000
##9FB5381.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB24
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#A8AB9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9fb538;
/* rgb */ color: rgb(159, 181, 56);
/* oklch */ color: oklch(73.3% 0.149 118.9);
Tailwind
colors: {
  custom: {
    50: '#becb76',
    500: '#9fb538',
    950: '#000000',
  },
}
SCSS
$custom: #9fb538;
$custom-light: #becb76;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb538",
  "rgb": {
    "r": 159,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 70.56,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73274,
    "c": 0.14919,
    "h": 118.9
  },
  "luminance": 0.40704
}

Semantic roles & 50–950 ramp

primary
#9FB538
secondary
#8F83C6
accent
#4CDC65
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9FB538

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

Preview Lab → · Contrast checker → · Palette generator →

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