#9FA43E#9FA43E

#9FA43E is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.125 H 111.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9FA43E
RGBrgb(159, 164, 62)
HSLhsl(63, 45%, 44%)
HSVhsv(63, 62%, 64%)
CMYKcmyk(3%, 0%, 62.2%, 35.7%)
CIE-LABlab(65.18, -15.46, 50.72)
CIE-LCHlch(65.18, 53.02, 106.95°)
OKLaboklab(69.45% -0.0465 0.1158)
OKLCHoklch(69.45% 0.125 111.9)
XYZxyz(28.4438, 34.2703, 9.6730)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA43E #433EA4
analogous
#A4763E #9FA43E #6CA43E
triadic
#9FA43E #3E9FA4 #A43E9F
tetradic
#9FA43E #3EA476 #433EA4 #A43E6C
square
#9FA43E #3EA476 #433EA4 #A43E6C
split-complementary
#9FA43E #3E6CA4 #763EA4
monochromatic
#494B1C #74782D #9FA43E #BDC25D #CFD38A

Accessibility & contrast

On white

2.67
#9FA43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#9FA43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA43E
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA43E#FFFFFF#000000##000000
##9FA43E1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D32
Deuteranopia (green-blind)
#B09F44
Tritanopia (blue-blind)
#A99B8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa43e;
/* rgb */ color: rgb(159, 164, 62);
/* oklch */ color: oklch(69.4% 0.125 111.9);
Tailwind
colors: {
  custom: {
    50: '#bebe78',
    500: '#9fa43e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa43e;
$custom-light: #bebe78;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa43e",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 62
  },
  "hsl": {
    "h": 62.941,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69446,
    "c": 0.12478,
    "h": 111.9
  },
  "luminance": 0.3427
}

Semantic roles & 50–950 ramp

primary
#9FA43E
secondary
#8481BD
accent
#53D559
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA43E

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

Preview Lab → · Contrast checker → · Palette generator →

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