#9FA762#9FA762

#9FA762 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.6% C 0.092 H 114.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9FA762
RGBrgb(159, 167, 98)
HSLhsl(67, 28%, 52%)
HSVhsv(67, 41%, 65%)
CMYKcmyk(4.8%, 0%, 41.3%, 34.5%)
CIE-LABlab(66.44, -13.68, 34.68)
CIE-LCHlch(66.44, 37.29, 111.53°)
OKLaboklab(70.59% -0.0379 0.0843)
OKLCHoklch(70.59% 0.092 114.2)
XYZxyz(30.3217, 35.8906, 16.8831)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA762 #6A62A7
analogous
#A78D62 #9FA762 #7DA762
triadic
#9FA762 #629FA7 #A7629F
tetradic
#9FA762 #62A78D #6A62A7 #A7627D
square
#9FA762 #62A78D #6A62A7 #A7627D
split-complementary
#9FA762 #627DA7 #8D62A7
monochromatic
#575B33 #7C8349 #9FA762 #B7BD89 #CFD3B0

Accessibility & contrast

On white

2.57
#9FA762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#9FA762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA762
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA762#FFFFFF#000000##000000
##9FA7621.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A15D
Deuteranopia (green-blind)
#B0A265
Tritanopia (blue-blind)
#A6A096
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa762;
/* rgb */ color: rgb(159, 167, 98);
/* oklch */ color: oklch(70.6% 0.092 114.2);
Tailwind
colors: {
  custom: {
    50: '#bcc190',
    500: '#9fa762',
    950: '#000000',
  },
}
SCSS
$custom: #9fa762;
$custom-light: #bcc190;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa762",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 98
  },
  "hsl": {
    "h": 66.957,
    "s": 28.163,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70586,
    "c": 0.09241,
    "h": 114.2
  },
  "luminance": 0.3589
}

Semantic roles & 50–950 ramp

primary
#9FA762
secondary
#A7A3C2
accent
#63C46F
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA762

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

Preview Lab → · Contrast checker → · Palette generator →

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