#9FA452#9FA452

#9FA452 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.106 H 112.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9FA452
RGBrgb(159, 164, 82)
HSLhsl(64, 33%, 48%)
HSVhsv(64, 50%, 64%)
CMYKcmyk(3%, 0%, 50%, 35.7%)
CIE-LABlab(65.38, -13.80, 41.55)
CIE-LCHlch(65.38, 43.78, 108.38°)
OKLaboklab(69.68% -0.0397 0.0984)
OKLCHoklch(69.68% 0.106 112)
XYZxyz(29.0971, 34.5316, 13.1135)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA452 #5752A4
analogous
#A48052 #9FA452 #76A452
triadic
#9FA452 #529FA4 #A4529F
tetradic
#9FA452 #52A480 #5752A4 #A45276
square
#9FA452 #52A480 #5752A4 #A45276
split-complementary
#9FA452 #5276A4 #8052A4
monochromatic
#505229 #777B3E #9FA452 #B7BB78 #CDD0A1

Accessibility & contrast

On white

2.66
#9FA452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#9FA452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA452
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA452#FFFFFF#000000##000000
##9FA4521.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E4B
Deuteranopia (green-blind)
#AFA056
Tritanopia (blue-blind)
#A89C91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa452;
/* rgb */ color: rgb(159, 164, 82);
/* oklch */ color: oklch(69.7% 0.106 112.0);
Tailwind
colors: {
  custom: {
    50: '#bdbe85',
    500: '#9fa452',
    950: '#000000',
  },
}
SCSS
$custom: #9fa452;
$custom-light: #bdbe85;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa452",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 82
  },
  "hsl": {
    "h": 63.659,
    "s": 33.333,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69677,
    "c": 0.10611,
    "h": 112
  },
  "luminance": 0.34531
}

Semantic roles & 50–950 ramp

primary
#9FA452
secondary
#9795BD
accent
#5EC965
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA452

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

Preview Lab → · Contrast checker → · Palette generator →

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