#9FBA38#9FBA38

#9FBA38 is a light, vivid yellow-green. Relative luminance 0.428; OKLCH L 74.4% C 0.155 H 120.5°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#9FBA38
RGBrgb(159, 186, 56)
HSLhsl(72, 54%, 47%)
HSVhsv(72, 70%, 73%)
CMYKcmyk(14.5%, 0%, 69.9%, 27.1%)
CIE-LABlab(71.40, -26.84, 59.62)
CIE-LCHlch(71.40, 65.38, 114.23°)
OKLaboklab(74.43% -0.0788 0.1336)
OKLCHoklch(74.43% 0.155 120.5)
XYZxyz(32.5713, 42.7743, 10.2810)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBA38 #5338BA
analogous
#BA9438 #9FBA38 #5EBA38
triadic
#9FBA38 #389FBA #BA389F
tetradic
#9FBA38 #38BA94 #5338BA #BA385E
square
#9FBA38 #38BA94 #5338BA #BA385E
split-complementary
#9FBA38 #385EBA #9438BA
monochromatic
#4F5C1C #778B2A #9FBA38 #B8CF60 #CDDD8F

Accessibility & contrast

On white

2.20
#9FBA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#9FBA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FBA38
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FBA38#FFFFFF#000000##000000
##9FBA381.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF23
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#A8B0A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #9fba38;
/* rgb */ color: rgb(159, 186, 56);
/* oklch */ color: oklch(74.4% 0.155 120.5);
Tailwind
colors: {
  custom: {
    50: '#bfce77',
    500: '#9fba38',
    950: '#000000',
  },
}
SCSS
$custom: #9fba38;
$custom-light: #bfce77;
$custom-dark: #000000;
JSON
{
  "hex": "#9fba38",
  "rgb": {
    "r": 159,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 72.462,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74428,
    "c": 0.15516,
    "h": 120.5
  },
  "luminance": 0.42774
}

Semantic roles & 50–950 ramp

primary
#9FBA38
secondary
#9486C8
accent
#4BDD69
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FBA38

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

Preview Lab → · Contrast checker → · Palette generator →

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