#9FA83A#9FA83A

#9FA83A is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.3% C 0.133 H 113.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#9FA83A
RGBrgb(159, 168, 58)
HSLhsl(65, 49%, 44%)
HSVhsv(65, 65%, 66%)
CMYKcmyk(5.4%, 0%, 65.5%, 34.1%)
CIE-LABlab(66.28, -17.78, 53.59)
CIE-LCHlch(66.28, 56.47, 108.35°)
OKLaboklab(70.32% -0.0534 0.1213)
OKLCHoklch(70.32% 0.133 113.8)
XYZxyz(29.0652, 35.6822, 9.3584)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA83A #433AA8
analogous
#A87A3A #9FA83A #68A83A
triadic
#9FA83A #3A9FA8 #A83A9F
tetradic
#9FA83A #3AA87A #433AA8 #A83A68
square
#9FA83A #3AA87A #433AA8 #A83A68
split-complementary
#9FA83A #3A68A8 #7A3AA8
monochromatic
#494D1B #747B2A #9FA83A #BDC659 #CFD687

Accessibility & contrast

On white

2.58
#9FA83A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#9FA83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA83A
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA83A#FFFFFF#000000##000000
##9FA83A1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02B
Deuteranopia (green-blind)
#B4A242
Tritanopia (blue-blind)
#A99E91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa83a;
/* rgb */ color: rgb(159, 168, 58);
/* oklch */ color: oklch(70.3% 0.133 113.8);
Tailwind
colors: {
  custom: {
    50: '#bec176',
    500: '#9fa83a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa83a;
$custom-light: #bec176;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa83a",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 58
  },
  "hsl": {
    "h": 64.909,
    "s": 48.673,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70316,
    "c": 0.13252,
    "h": 113.8
  },
  "luminance": 0.35682
}

Semantic roles & 50–950 ramp

primary
#9FA83A
secondary
#847EC0
accent
#50D85B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA83A

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

Preview Lab → · Contrast checker → · Palette generator →

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