#9FB138#9FB138

#9FB138 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.4% C 0.144 H 117.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#9FB138
RGBrgb(159, 177, 56)
HSLhsl(69, 52%, 46%)
HSVhsv(69, 68%, 69%)
CMYKcmyk(10.2%, 0%, 68.4%, 30.6%)
CIE-LABlab(68.82, -22.43, 57.02)
CIE-LCHlch(68.82, 61.28, 111.48°)
OKLaboklab(72.36% -0.0666 0.1282)
OKLCHoklch(72.36% 0.144 117.5)
XYZxyz(30.7347, 39.1011, 9.6688)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB138 #4A38B1
analogous
#B18638 #9FB138 #62B138
triadic
#9FB138 #389FB1 #B1389F
tetradic
#9FB138 #38B186 #4A38B1 #B13862
square
#9FB138 #38B186 #4A38B1 #B13862
split-complementary
#9FB138 #3862B1 #8638B1
monochromatic
#4B541B #758329 #9FB138 #BACB5B #CEDA8A

Accessibility & contrast

On white

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

On black

8.82
#9FB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB138
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB138#FFFFFF#000000##000000
##9FB1381.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#BBA941
Tritanopia (blue-blind)
#A9A799
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb138;
/* rgb */ color: rgb(159, 177, 56);
/* oklch */ color: oklch(72.4% 0.144 117.5);
Tailwind
colors: {
  custom: {
    50: '#bec876',
    500: '#9fb138',
    950: '#000000',
  },
}
SCSS
$custom: #9fb138;
$custom-light: #bec876;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb138",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 68.926,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72355,
    "c": 0.14446,
    "h": 117.5
  },
  "luminance": 0.39101
}

Semantic roles & 50–950 ramp

primary
#9FB138
secondary
#8B81C4
accent
#4CDB62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9FB138

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

Preview Lab → · Contrast checker → · Palette generator →

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