#9FA53C#9FA53C

#9FA53C is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.128 H 112.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9FA53C
RGBrgb(159, 165, 60)
HSLhsl(63, 47%, 44%)
HSVhsv(63, 64%, 65%)
CMYKcmyk(3.6%, 0%, 63.6%, 35.3%)
CIE-LABlab(65.44, -16.11, 51.87)
CIE-LCHlch(65.44, 54.32, 107.25°)
OKLaboklab(69.65% -0.0486 0.1179)
OKLCHoklch(69.65% 0.128 112.4)
XYZxyz(28.5696, 34.6081, 9.4491)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA53C #423CA5
analogous
#A5773C #9FA53C #6BA53C
triadic
#9FA53C #3C9FA5 #A53C9F
tetradic
#9FA53C #3CA577 #423CA5 #A53C6B
square
#9FA53C #3CA577 #423CA5 #A53C6B
split-complementary
#9FA53C #3C6BA5 #773CA5
monochromatic
#494B1B #74782C #9FA53C #BDC35B #CFD488

Accessibility & contrast

On white

2.65
#9FA53C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#9FA53C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA53C
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA53C#FFFFFF#000000##000000
##9FA53C1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E2F
Deuteranopia (green-blind)
#B1A043
Tritanopia (blue-blind)
#A99B8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa53c;
/* rgb */ color: rgb(159, 165, 60);
/* oklch */ color: oklch(69.7% 0.128 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebf77',
    500: '#9fa53c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa53c;
$custom-light: #bebf77;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa53c",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 60
  },
  "hsl": {
    "h": 63.429,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69653,
    "c": 0.12753,
    "h": 112.4
  },
  "luminance": 0.34607
}

Semantic roles & 50–950 ramp

primary
#9FA53C
secondary
#827FBE
accent
#51D659
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA53C

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

Preview Lab → · Contrast checker → · Palette generator →

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