#9FA258#9FA258

#9FA258 is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.097 H 110.7°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9FA258
RGBrgb(159, 162, 88)
HSLhsl(62, 30%, 49%)
HSVhsv(62, 46%, 64%)
CMYKcmyk(1.9%, 0%, 45.7%, 36.5%)
CIE-LABlab(64.90, -12.16, 37.93)
CIE-LCHlch(64.90, 39.83, 107.78°)
OKLaboklab(69.31% -0.0344 0.0909)
OKLCHoklch(69.31% 0.097 110.7)
XYZxyz(28.9803, 33.9167, 14.2506)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA258 #5B58A2
analogous
#A28058 #9FA258 #7AA258
triadic
#9FA258 #589FA2 #A2589F
tetradic
#9FA258 #58A280 #5B58A2 #A2587A
square
#9FA258 #58A280 #5B58A2 #A2587A
split-complementary
#9FA258 #587AA2 #8058A2
monochromatic
#51532D #787A42 #9FA258 #B7B97E #CDCFA6

Accessibility & contrast

On white

2.70
#9FA258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#9FA258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA258
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA258#FFFFFF#000000##000000
##9FA2581.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C52
Deuteranopia (green-blind)
#AD9F5C
Tritanopia (blue-blind)
#A89A91
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa258;
/* rgb */ color: rgb(159, 162, 88);
/* oklch */ color: oklch(69.3% 0.097 110.7);
Tailwind
colors: {
  custom: {
    50: '#bdbd89',
    500: '#9fa258',
    950: '#000000',
  },
}
SCSS
$custom: #9fa258;
$custom-light: #bdbd89;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa258",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 88
  },
  "hsl": {
    "h": 62.432,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69314,
    "c": 0.09723,
    "h": 110.7
  },
  "luminance": 0.33916
}

Semantic roles & 50–950 ramp

primary
#9FA258
secondary
#9B99BC
accent
#62C666
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA258

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

Preview Lab → · Contrast checker → · Palette generator →

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