#9FA253#9FA253

#9FA253 is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.103 H 110.7°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9FA253
RGBrgb(159, 162, 83)
HSLhsl(62, 32%, 48%)
HSVhsv(62, 49%, 64%)
CMYKcmyk(1.9%, 0%, 48.8%, 36.5%)
CIE-LABlab(64.83, -12.66, 40.39)
CIE-LCHlch(64.83, 42.33, 107.41°)
OKLaboklab(69.24% -0.0363 0.096)
OKLCHoklch(69.24% 0.103 110.7)
XYZxyz(28.7803, 33.8367, 13.1970)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA253 #5653A2
analogous
#A27D53 #9FA253 #78A253
triadic
#9FA253 #539FA2 #A2539F
tetradic
#9FA253 #53A27D #5653A2 #A25378
square
#9FA253 #53A27D #5653A2 #A25378
split-complementary
#9FA253 #5378A2 #7D53A2
monochromatic
#50512A #777A3E #9FA253 #B7BA78 #CDCFA1

Accessibility & contrast

On white

2.70
#9FA253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#9FA253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA253
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA253#FFFFFF#000000##000000
##9FA2531.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C4C
Deuteranopia (green-blind)
#AD9E57
Tritanopia (blue-blind)
#A89A90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa253;
/* rgb */ color: rgb(159, 162, 83);
/* oklch */ color: oklch(69.2% 0.103 110.7);
Tailwind
colors: {
  custom: {
    50: '#bdbd85',
    500: '#9fa253',
    950: '#000000',
  },
}
SCSS
$custom: #9fa253;
$custom-light: #bdbd85;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa253",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 83
  },
  "hsl": {
    "h": 62.278,
    "s": 32.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69243,
    "c": 0.1026,
    "h": 110.7
  },
  "luminance": 0.33836
}

Semantic roles & 50–950 ramp

primary
#9FA253
secondary
#9695BC
accent
#5FC863
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA253

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

Preview Lab → · Contrast checker → · Palette generator →

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