#9FA152#9FA152

#9FA152 is a light, moderate yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.102 H 110.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9FA152
RGBrgb(159, 161, 82)
HSLhsl(62, 33%, 48%)
HSVhsv(62, 49%, 63%)
CMYKcmyk(1.2%, 0%, 49.1%, 36.9%)
CIE-LABlab(64.54, -12.23, 40.54)
CIE-LCHlch(64.54, 42.35, 106.79°)
OKLaboklab(69.01% -0.0352 0.0962)
OKLCHoklch(69.01% 0.102 110.1)
XYZxyz(28.5665, 33.4705, 12.9366)
Luminance0.3347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA152 #5452A1
analogous
#A17B52 #9FA152 #77A152
triadic
#9FA152 #529FA1 #A1529F
tetradic
#9FA152 #52A17B #5452A1 #A15277
square
#9FA152 #52A17B #5452A1 #A15277
split-complementary
#9FA152 #5277A1 #7B52A1
monochromatic
#4F5029 #77783D #9FA152 #B8BA77 #CDCE9F

Accessibility & contrast

On white

2.73
#9FA152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#9FA152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA152
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA152#FFFFFF#000000##000000
##9FA1521.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B4B
Deuteranopia (green-blind)
#AC9E56
Tritanopia (blue-blind)
#A8998F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa152;
/* rgb */ color: rgb(159, 161, 82);
/* oklch */ color: oklch(69.0% 0.102 110.1);
Tailwind
colors: {
  custom: {
    50: '#bdbc84',
    500: '#9fa152',
    950: '#000000',
  },
}
SCSS
$custom: #9fa152;
$custom-light: #bdbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa152",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 61.519,
    "s": 32.51,
    "l": 47.647
  },
  "oklch": {
    "l": 0.69005,
    "c": 0.10245,
    "h": 110.1
  },
  "luminance": 0.3347
}

Semantic roles & 50–950 ramp

primary
#9FA152
secondary
#9493BB
accent
#5FC962
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA152

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

Preview Lab → · Contrast checker → · Palette generator →

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