#9FA652#9FA652

#9FA652 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.1% C 0.109 H 113.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#9FA652
RGBrgb(159, 166, 82)
HSLhsl(65, 34%, 49%)
HSVhsv(65, 51%, 65%)
CMYKcmyk(4.2%, 0%, 50.6%, 34.9%)
CIE-LABlab(65.95, -14.84, 42.22)
CIE-LCHlch(65.95, 44.75, 109.37°)
OKLaboklab(70.13% -0.0426 0.0999)
OKLCHoklch(70.13% 0.109 113.1)
XYZxyz(29.4578, 35.2531, 13.2337)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA652 #5952A6
analogous
#A68352 #9FA652 #75A652
triadic
#9FA652 #529FA6 #A6529F
tetradic
#9FA652 #52A683 #5952A6 #A65275
square
#9FA652 #52A683 #5952A6 #A65275
split-complementary
#9FA652 #5275A6 #8352A6
monochromatic
#51542A #787D3E #9FA652 #B7BD79 #CDD1A2

Accessibility & contrast

On white

2.61
#9FA652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#9FA652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA652
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA652#FFFFFF#000000##000000
##9FA6521.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4A
Deuteranopia (green-blind)
#B0A156
Tritanopia (blue-blind)
#A89E93
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa652;
/* rgb */ color: rgb(159, 166, 82);
/* oklch */ color: oklch(70.1% 0.109 113.1);
Tailwind
colors: {
  custom: {
    50: '#bdc085',
    500: '#9fa652',
    950: '#000000',
  },
}
SCSS
$custom: #9fa652;
$custom-light: #bdc085;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa652",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 82
  },
  "hsl": {
    "h": 65,
    "s": 33.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70126,
    "c": 0.10859,
    "h": 113.1
  },
  "luminance": 0.35253
}

Semantic roles & 50–950 ramp

primary
#9FA652
secondary
#9996BE
accent
#5ECA67
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA652

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

Preview Lab → · Contrast checker → · Palette generator →

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