#9FB142#9FB142

#9FB142 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.4% C 0.137 H 117.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#9FB142
RGBrgb(159, 177, 66)
HSLhsl(70, 46%, 48%)
HSVhsv(70, 63%, 69%)
CMYKcmyk(10.2%, 0%, 62.7%, 30.6%)
CIE-LABlab(68.90, -21.77, 52.99)
CIE-LCHlch(68.90, 57.28, 112.33°)
OKLaboklab(72.44% -0.0638 0.1212)
OKLCHoklch(72.44% 0.137 117.8)
XYZxyz(31.0041, 39.2088, 11.0880)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB142 #5442B1
analogous
#B18C42 #9FB142 #67B142
triadic
#9FB142 #429FB1 #B1429F
tetradic
#9FB142 #42B18C #5442B1 #B14267
square
#9FB142 #42B18C #5442B1 #B14267
split-complementary
#9FB142 #4267B1 #8C42B1
monochromatic
#4F5821 #778431 #9FB142 #B8C769 #CDD896

Accessibility & contrast

On white

2.38
#9FB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#9FB142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB142
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB142#FFFFFF#000000##000000
##9FB1421.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA834
Deuteranopia (green-blind)
#BAA94A
Tritanopia (blue-blind)
#A8A89A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb142;
/* rgb */ color: rgb(159, 177, 66);
/* oklch */ color: oklch(72.4% 0.137 117.8);
Tailwind
colors: {
  custom: {
    50: '#bec87b',
    500: '#9fb142',
    950: '#000000',
  },
}
SCSS
$custom: #9fb142;
$custom-light: #bec87b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb142",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 69.73,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72442,
    "c": 0.13692,
    "h": 117.8
  },
  "luminance": 0.39209
}

Semantic roles & 50–950 ramp

primary
#9FB142
secondary
#948BC3
accent
#52D568
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9FB142

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

Preview Lab → · Contrast checker → · Palette generator →

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