#9FA45E#9FA45E

#9FA45E is a light, moderate yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.093 H 112.1°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9FA45E
RGBrgb(159, 164, 94)
HSLhsl(64, 28%, 51%)
HSVhsv(64, 43%, 64%)
CMYKcmyk(3%, 0%, 42.7%, 35.7%)
CIE-LABlab(65.54, -12.57, 35.64)
CIE-LCHlch(65.54, 37.79, 109.43°)
OKLaboklab(69.85% -0.035 0.0862)
OKLCHoklch(69.85% 0.093 112.1)
XYZxyz(29.5943, 34.7305, 15.7322)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA45E #635EA4
analogous
#A4865E #9FA45E #7CA45E
triadic
#9FA45E #5E9FA4 #A45E9F
tetradic
#9FA45E #5EA486 #635EA4 #A45E7C
square
#9FA45E #5EA486 #635EA4 #A45E7C
split-complementary
#9FA45E #5E7CA4 #865EA4
monochromatic
#545731 #7A7E47 #9FA45E #B6BA85 #CED0AC

Accessibility & contrast

On white

2.64
#9FA45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#9FA45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA45E
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA45E#FFFFFF#000000##000000
##9FA45E1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E58
Deuteranopia (green-blind)
#AEA061
Tritanopia (blue-blind)
#A79D93
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa45e;
/* rgb */ color: rgb(159, 164, 94);
/* oklch */ color: oklch(69.9% 0.093 112.1);
Tailwind
colors: {
  custom: {
    50: '#bcbe8d',
    500: '#9fa45e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa45e;
$custom-light: #bcbe8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa45e",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 94
  },
  "hsl": {
    "h": 64.286,
    "s": 27.778,
    "l": 50.588
  },
  "oklch": {
    "l": 0.69852,
    "c": 0.09306,
    "h": 112.1
  },
  "luminance": 0.3473
}

Semantic roles & 50–950 ramp

primary
#9FA45E
secondary
#A29FBE
accent
#64C46B
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA45E

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

Preview Lab → · Contrast checker → · Palette generator →

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