#9FA751#9FA751

#9FA751 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.3% C 0.111 H 113.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#9FA751
RGBrgb(159, 167, 81)
HSLhsl(66, 35%, 49%)
HSVhsv(66, 51%, 65%)
CMYKcmyk(4.8%, 0%, 51.5%, 34.5%)
CIE-LABlab(66.22, -15.45, 43.03)
CIE-LCHlch(66.22, 45.72, 109.76°)
OKLaboklab(70.34% -0.0445 0.1016)
OKLCHoklch(70.34% 0.111 113.6)
XYZxyz(29.6025, 35.6029, 13.0956)
Luminance0.3560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA751 #5951A7
analogous
#A78451 #9FA751 #74A751
triadic
#9FA751 #519FA7 #A7519F
tetradic
#9FA751 #51A784 #5951A7 #A75174
square
#9FA751 #51A784 #5951A7 #A75174
split-complementary
#9FA751 #5174A7 #8451A7
monochromatic
#515529 #787E3D #9FA751 #B7BD78 #CDD1A1

Accessibility & contrast

On white

2.59
#9FA751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#9FA751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA751
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA751#FFFFFF#000000##000000
##9FA7511.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A049
Deuteranopia (green-blind)
#B1A256
Tritanopia (blue-blind)
#A89F93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa751;
/* rgb */ color: rgb(159, 167, 81);
/* oklch */ color: oklch(70.3% 0.111 113.6);
Tailwind
colors: {
  custom: {
    50: '#bdc184',
    500: '#9fa751',
    950: '#000000',
  },
}
SCSS
$custom: #9fa751;
$custom-light: #bdc184;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa751",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 65.581,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70338,
    "c": 0.11086,
    "h": 113.6
  },
  "luminance": 0.35602
}

Semantic roles & 50–950 ramp

primary
#9FA751
secondary
#9995BF
accent
#5DCB67
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA751

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

Preview Lab → · Contrast checker → · Palette generator →

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