#9FA138#9FA138

#9FA138 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.7% C 0.126 H 110.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9FA138
RGBrgb(159, 161, 56)
HSLhsl(61, 48%, 43%)
HSVhsv(61, 65%, 63%)
CMYKcmyk(1.2%, 0%, 65.2%, 36.9%)
CIE-LABlab(64.28, -14.30, 52.35)
CIE-LCHlch(64.28, 54.27, 105.28°)
OKLaboklab(68.71% -0.0439 0.1183)
OKLCHoklch(68.71% 0.126 110.4)
XYZxyz(27.7576, 33.1469, 8.6764)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA138 #3A38A1
analogous
#A16F38 #9FA138 #6AA138
triadic
#9FA138 #389FA1 #A1389F
tetradic
#9FA138 #38A16F #3A38A1 #A1386A
square
#9FA138 #38A16F #3A38A1 #A1386A
split-complementary
#9FA138 #386AA1 #6F38A1
monochromatic
#454618 #727428 #9FA138 #C1C353 #D1D380

Accessibility & contrast

On white

2.75
#9FA138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#9FA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA138
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA138#FFFFFF#000000##000000
##9FA1381.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2A
Deuteranopia (green-blind)
#AE9D3F
Tritanopia (blue-blind)
#AA978B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa138;
/* rgb */ color: rgb(159, 161, 56);
/* oklch */ color: oklch(68.7% 0.126 110.4);
Tailwind
colors: {
  custom: {
    50: '#bebc74',
    500: '#9fa138',
    950: '#000000',
  },
}
SCSS
$custom: #9fa138;
$custom-light: #bebc74;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa138",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 61.143,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68714,
    "c": 0.12621,
    "h": 110.4
  },
  "luminance": 0.33146
}

Semantic roles & 50–950 ramp

primary
#9FA138
secondary
#7A78BC
accent
#50D852
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA138

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

Preview Lab → · Contrast checker → · Palette generator →

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