#9FA262#9FA262

#9FA262 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.086 H 110.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9FA262
RGBrgb(159, 162, 98)
HSLhsl(63, 26%, 51%)
HSVhsv(63, 40%, 64%)
CMYKcmyk(1.9%, 0%, 39.5%, 36.5%)
CIE-LABlab(65.04, -11.06, 32.91)
CIE-LCHlch(65.04, 34.72, 108.58°)
OKLaboklab(69.47% -0.0304 0.0803)
OKLCHoklch(69.47% 0.086 110.7)
XYZxyz(29.4233, 34.0939, 16.5837)
Luminance0.3409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA262 #6562A2
analogous
#A28562 #9FA262 #7FA262
triadic
#9FA262 #629FA2 #A2629F
tetradic
#9FA262 #62A285 #6562A2 #A2627F
square
#9FA262 #62A285 #6562A2 #A2627F
split-complementary
#9FA262 #627FA2 #8562A2
monochromatic
#555633 #7A7D4A #9FA262 #B6B988 #CED0AF

Accessibility & contrast

On white

2.69
#9FA262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#9FA262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA262
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA262#FFFFFF#000000##000000
##9FA2621.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9D5D
Deuteranopia (green-blind)
#AC9F65
Tritanopia (blue-blind)
#A79B92
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa262;
/* rgb */ color: rgb(159, 162, 98);
/* oklch */ color: oklch(69.5% 0.086 110.7);
Tailwind
colors: {
  custom: {
    50: '#bcbd8f',
    500: '#9fa262',
    950: '#000000',
  },
}
SCSS
$custom: #9fa262;
$custom-light: #bcbd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa262",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 62.813,
    "s": 25.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.69472,
    "c": 0.08583,
    "h": 110.7
  },
  "luminance": 0.34093
}

Semantic roles & 50–950 ramp

primary
#9FA262
secondary
#A3A2BE
accent
#66C26A
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA262

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

Preview Lab → · Contrast checker → · Palette generator →

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