#9FA451#9FA451

#9FA451 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.107 H 112.0°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9FA451
RGBrgb(159, 164, 81)
HSLhsl(64, 34%, 48%)
HSVhsv(64, 51%, 64%)
CMYKcmyk(3%, 0%, 50.6%, 35.7%)
CIE-LABlab(65.37, -13.90, 42.03)
CIE-LCHlch(65.37, 44.27, 108.30°)
OKLaboklab(69.66% -0.04 0.0994)
OKLCHoklch(69.66% 0.107 112)
XYZxyz(29.0593, 34.5165, 12.9145)
Luminance0.3452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA451 #5651A4
analogous
#A47F51 #9FA451 #76A451
triadic
#9FA451 #519FA4 #A4519F
tetradic
#9FA451 #51A47F #5651A4 #A45176
square
#9FA451 #51A47F #5651A4 #A45176
split-complementary
#9FA451 #5176A4 #7F51A4
monochromatic
#505229 #777B3D #9FA451 #B7BC77 #CDD0A0

Accessibility & contrast

On white

2.66
#9FA451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#9FA451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA451
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA451#FFFFFF#000000##000000
##9FA4511.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E49
Deuteranopia (green-blind)
#AFA055
Tritanopia (blue-blind)
#A89C91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa451;
/* rgb */ color: rgb(159, 164, 81);
/* oklch */ color: oklch(69.7% 0.107 112.0);
Tailwind
colors: {
  custom: {
    50: '#bdbe84',
    500: '#9fa451',
    950: '#000000',
  },
}
SCSS
$custom: #9fa451;
$custom-light: #bdbe84;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa451",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 63.614,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69664,
    "c": 0.10714,
    "h": 112
  },
  "luminance": 0.34516
}

Semantic roles & 50–950 ramp

primary
#9FA451
secondary
#9694BD
accent
#5ECA64
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA451

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

Preview Lab → · Contrast checker → · Palette generator →

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