#9FA53E#9FA53E

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

Color values

HEX#9FA53E
RGBrgb(159, 165, 62)
HSLhsl(63, 45%, 45%)
HSVhsv(63, 62%, 65%)
CMYKcmyk(3.6%, 0%, 62.4%, 35.3%)
CIE-LABlab(65.46, -15.97, 51.02)
CIE-LCHlch(65.46, 53.46, 107.38°)
OKLaboklab(69.67% -0.0479 0.1164)
OKLCHoklch(69.67% 0.126 112.4)
XYZxyz(28.6235, 34.6296, 9.7328)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA53E #443EA5
analogous
#A5783E #9FA53E #6CA53E
triadic
#9FA53E #3E9FA5 #A53E9F
tetradic
#9FA53E #3EA578 #443EA5 #A53E6C
square
#9FA53E #3EA578 #443EA5 #A53E6C
split-complementary
#9FA53E #3E6CA5 #783EA5
monochromatic
#494C1D #74792D #9FA53E #BDC25E #CFD38A

Accessibility & contrast

On white

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

On black

7.93
#9FA53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA53E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA53E#FFFFFF#000000##000000
##9FA53E1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E31
Deuteranopia (green-blind)
#B1A045
Tritanopia (blue-blind)
#A99C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa53e;
/* rgb */ color: rgb(159, 165, 62);
/* oklch */ color: oklch(69.7% 0.126 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebf78',
    500: '#9fa53e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa53e;
$custom-light: #bebf78;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa53e",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 62
  },
  "hsl": {
    "h": 63.495,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69672,
    "c": 0.12592,
    "h": 112.4
  },
  "luminance": 0.34629
}

Semantic roles & 50–950 ramp

primary
#9FA53E
secondary
#8581BE
accent
#53D55A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA53E

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

Preview Lab → · Contrast checker → · Palette generator →

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