#9FA862#9FA862

#9FA862 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.094 H 114.8°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#9FA862
RGBrgb(159, 168, 98)
HSLhsl(68, 29%, 52%)
HSVhsv(68, 42%, 66%)
CMYKcmyk(5.4%, 0%, 41.7%, 34.1%)
CIE-LABlab(66.72, -14.20, 35.04)
CIE-LCHlch(66.72, 37.81, 112.07°)
OKLaboklab(70.81% -0.0394 0.0851)
OKLCHoklch(70.81% 0.094 114.8)
XYZxyz(30.5056, 36.2584, 16.9444)
Luminance0.3626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA862 #6B62A8
analogous
#A88E62 #9FA862 #7CA862
triadic
#9FA862 #629FA8 #A8629F
tetradic
#9FA862 #62A88E #6B62A8 #A8627C
square
#9FA862 #62A88E #6B62A8 #A8627C
split-complementary
#9FA862 #627CA8 #8E62A8
monochromatic
#575C33 #7C8449 #9FA862 #B7BE89 #CFD4B1

Accessibility & contrast

On white

2.54
#9FA862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#9FA862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA862
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA862#FFFFFF#000000##000000
##9FA8621.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A25D
Deuteranopia (green-blind)
#B0A365
Tritanopia (blue-blind)
#A6A197
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa862;
/* rgb */ color: rgb(159, 168, 98);
/* oklch */ color: oklch(70.8% 0.094 114.8);
Tailwind
colors: {
  custom: {
    50: '#bcc190',
    500: '#9fa862',
    950: '#000000',
  },
}
SCSS
$custom: #9fa862;
$custom-light: #bcc190;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa862",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 98
  },
  "hsl": {
    "h": 67.714,
    "s": 28.689,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7081,
    "c": 0.09376,
    "h": 114.8
  },
  "luminance": 0.36258
}

Semantic roles & 50–950 ramp

primary
#9FA862
secondary
#A8A4C2
accent
#63C56F
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA862

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

Preview Lab → · Contrast checker → · Palette generator →

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