#9FA643#9FA643

#9FA643 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.123 H 112.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9FA643
RGBrgb(159, 166, 67)
HSLhsl(64, 42%, 46%)
HSVhsv(64, 60%, 65%)
CMYKcmyk(4.2%, 0%, 59.6%, 34.9%)
CIE-LABlab(65.79, -16.12, 49.15)
CIE-LCHlch(65.79, 51.73, 108.16°)
OKLaboklab(69.95% -0.0478 0.1132)
OKLCHoklch(69.95% 0.123 112.9)
XYZxyz(28.9481, 35.0492, 10.5493)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA643 #4A43A6
analogous
#A67B43 #9FA643 #6EA643
triadic
#9FA643 #439FA6 #A6439F
tetradic
#9FA643 #43A67B #4A43A6 #A6436E
square
#9FA643 #43A67B #4A43A6 #A6436E
split-complementary
#9FA643 #436EA6 #7B43A6
monochromatic
#4B4F20 #757A31 #9FA643 #BAC165 #CED391

Accessibility & contrast

On white

2.62
#9FA643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#9FA643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA643
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA643#FFFFFF#000000##000000
##9FA6431.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F38
Deuteranopia (green-blind)
#B2A149
Tritanopia (blue-blind)
#A99D91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa643;
/* rgb */ color: rgb(159, 166, 67);
/* oklch */ color: oklch(69.9% 0.123 112.9);
Tailwind
colors: {
  custom: {
    50: '#bec07b',
    500: '#9fa643',
    950: '#000000',
  },
}
SCSS
$custom: #9fa643;
$custom-light: #bec07b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa643",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 67
  },
  "hsl": {
    "h": 64.242,
    "s": 42.489,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69949,
    "c": 0.12285,
    "h": 112.9
  },
  "luminance": 0.35049
}

Semantic roles & 50–950 ramp

primary
#9FA643
secondary
#8B87BE
accent
#56D25E
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA643

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

Preview Lab → · Contrast checker → · Palette generator →

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