#9FA245#9FA245

#9FA245 is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.116 H 110.8°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9FA245
RGBrgb(159, 162, 69)
HSLhsl(62, 40%, 45%)
HSVhsv(62, 57%, 64%)
CMYKcmyk(1.9%, 0%, 57.4%, 36.5%)
CIE-LABlab(64.68, -13.90, 47.00)
CIE-LCHlch(64.68, 49.01, 106.47°)
OKLaboklab(69.07% -0.0413 0.1088)
OKLCHoklch(69.07% 0.116 110.8)
XYZxyz(28.2933, 33.6419, 10.6322)
Luminance0.3364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA245 #4845A2
analogous
#A27645 #9FA245 #71A245
triadic
#9FA245 #459FA2 #A2459F
tetradic
#9FA245 #45A276 #4845A2 #A24571
square
#9FA245 #45A276 #4845A2 #A24571
split-complementary
#9FA245 #4571A2 #7645A2
monochromatic
#4B4C20 #757733 #9FA245 #BBBE66 #CED091

Accessibility & contrast

On white

2.72
#9FA245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9FA245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA245
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA245#FFFFFF#000000##000000
##9FA2451.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B3B
Deuteranopia (green-blind)
#AE9E4A
Tritanopia (blue-blind)
#A9998E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa245;
/* rgb */ color: rgb(159, 162, 69);
/* oklch */ color: oklch(69.1% 0.116 110.8);
Tailwind
colors: {
  custom: {
    50: '#bebd7c',
    500: '#9fa245',
    950: '#000000',
  },
}
SCSS
$custom: #9fa245;
$custom-light: #bebd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa245",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 61.935,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69068,
    "c": 0.1164,
    "h": 110.8
  },
  "luminance": 0.33641
}

Semantic roles & 50–950 ramp

primary
#9FA245
secondary
#8987BC
accent
#58D05C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA245

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

Preview Lab → · Contrast checker → · Palette generator →

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