#9FA754#9FA754

#9FA754 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.108 H 113.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#9FA754
RGBrgb(159, 167, 84)
HSLhsl(66, 33%, 49%)
HSVhsv(66, 50%, 65%)
CMYKcmyk(4.8%, 0%, 49.7%, 34.5%)
CIE-LABlab(66.25, -15.17, 41.59)
CIE-LCHlch(66.25, 44.27, 110.04°)
OKLaboklab(70.38% -0.0433 0.0987)
OKLCHoklch(70.38% 0.108 113.7)
XYZxyz(29.7175, 35.6489, 13.7012)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA754 #5C54A7
analogous
#A78654 #9FA754 #76A754
triadic
#9FA754 #549FA7 #A7549F
tetradic
#9FA754 #54A786 #5C54A7 #A75476
square
#9FA754 #54A786 #5C54A7 #A75476
split-complementary
#9FA754 #5476A7 #8654A7
monochromatic
#51562B #787E40 #9FA754 #B7BD7B #CDD1A4

Accessibility & contrast

On white

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

On black

8.13
#9FA754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA754
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA754#FFFFFF#000000##000000
##9FA7541.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04D
Deuteranopia (green-blind)
#B1A258
Tritanopia (blue-blind)
#A89F94
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa754;
/* rgb */ color: rgb(159, 167, 84);
/* oklch */ color: oklch(70.4% 0.108 113.7);
Tailwind
colors: {
  custom: {
    50: '#bdc186',
    500: '#9fa754',
    950: '#000000',
  },
}
SCSS
$custom: #9fa754;
$custom-light: #bdc186;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa754",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 84
  },
  "hsl": {
    "h": 65.783,
    "s": 33.068,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70378,
    "c": 0.10778,
    "h": 113.7
  },
  "luminance": 0.35648
}

Semantic roles & 50–950 ramp

primary
#9FA754
secondary
#9C98BF
accent
#5FC969
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA754

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

Preview Lab → · Contrast checker → · Palette generator →

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