#9FA248#9FA248

#9FA248 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.114 H 110.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9FA248
RGBrgb(159, 162, 72)
HSLhsl(62, 38%, 46%)
HSVhsv(62, 56%, 64%)
CMYKcmyk(1.9%, 0%, 55.6%, 36.5%)
CIE-LABlab(64.71, -13.65, 45.62)
CIE-LCHlch(64.71, 47.62, 106.66°)
OKLaboklab(69.1% -0.0403 0.1062)
OKLCHoklch(69.1% 0.114 110.8)
XYZxyz(28.3888, 33.6801, 11.1351)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA248 #4B48A2
analogous
#A27848 #9FA248 #72A248
triadic
#9FA248 #489FA2 #A2489F
tetradic
#9FA248 #48A278 #4B48A2 #A24872
square
#9FA248 #48A278 #4B48A2 #A24872
split-complementary
#9FA248 #4872A2 #7848A2
monochromatic
#4C4D22 #757835 #9FA248 #BABD6A #CED095

Accessibility & contrast

On white

2.71
#9FA248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#9FA248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA248
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA248#FFFFFF#000000##000000
##9FA2481.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C3F
Deuteranopia (green-blind)
#AE9E4D
Tritanopia (blue-blind)
#A9998E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa248;
/* rgb */ color: rgb(159, 162, 72);
/* oklch */ color: oklch(69.1% 0.114 110.8);
Tailwind
colors: {
  custom: {
    50: '#bdbd7e',
    500: '#9fa248',
    950: '#000000',
  },
}
SCSS
$custom: #9fa248;
$custom-light: #bdbd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa248",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 72
  },
  "hsl": {
    "h": 62,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69103,
    "c": 0.11361,
    "h": 110.8
  },
  "luminance": 0.33679
}

Semantic roles & 50–950 ramp

primary
#9FA248
secondary
#8C8ABC
accent
#59CE5D
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA248

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

Preview Lab → · Contrast checker → · Palette generator →

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