#9FA127#9FA127

#9FA127 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.6% C 0.137 H 110.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9FA127
RGBrgb(159, 161, 39)
HSLhsl(61, 61%, 39%)
HSVhsv(61, 76%, 63%)
CMYKcmyk(1.2%, 0%, 75.8%, 36.9%)
CIE-LABlab(64.17, -15.21, 58.69)
CIE-LCHlch(64.17, 60.63, 104.53°)
OKLaboklab(68.59% -0.0481 0.1288)
OKLCHoklch(68.59% 0.137 110.5)
XYZxyz(27.4101, 33.0079, 6.8463)
Luminance0.3301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA127 #2927A1
analogous
#A16627 #9FA127 #62A127
triadic
#9FA127 #279FA1 #A1279F
tetradic
#9FA127 #27A166 #2927A1 #A12762
square
#9FA127 #27A166 #2927A1 #A12762
split-complementary
#9FA127 #2762A1 #6627A1
monochromatic
#3E3E0F #6E701B #9FA127 #CCCE37 #D9DA68

Accessibility & contrast

On white

2.76
#9FA127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#9FA127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA127
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA127#FFFFFF#000000##000000
##9FA1271.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A09
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#AA978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa127;
/* rgb */ color: rgb(159, 161, 39);
/* oklch */ color: oklch(68.6% 0.137 110.5);
Tailwind
colors: {
  custom: {
    50: '#bfbc6b',
    500: '#9fa127',
    950: '#000000',
  },
}
SCSS
$custom: #9fa127;
$custom-light: #bfbc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa127",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 60.984,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68588,
    "c": 0.13745,
    "h": 110.5
  },
  "luminance": 0.33007
}

Semantic roles & 50–950 ramp

primary
#9FA127
secondary
#6563C0
accent
#44E446
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA127

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

Preview Lab → · Contrast checker → · Palette generator →

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