#9FA43D#9FA43D

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

Color values

HEX#9FA43D
RGBrgb(159, 164, 61)
HSLhsl(63, 46%, 44%)
HSVhsv(63, 63%, 64%)
CMYKcmyk(3%, 0%, 62.8%, 35.7%)
CIE-LABlab(65.17, -15.53, 51.15)
CIE-LCHlch(65.17, 53.45, 106.89°)
OKLaboklab(69.44% -0.0468 0.1166)
OKLCHoklch(69.44% 0.126 111.9)
XYZxyz(28.4166, 34.2594, 9.5298)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA43D #423DA4
analogous
#A4763D #9FA43D #6CA43D
triadic
#9FA43D #3D9FA4 #A43D9F
tetradic
#9FA43D #3DA476 #423DA4 #A43D6C
square
#9FA43D #3DA476 #423DA4 #A43D6C
split-complementary
#9FA43D #3D6CA4 #763DA4
monochromatic
#494B1C #74772C #9FA43D #BDC25C #CFD388

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA43D#FFFFFF#000000##000000
##9FA43D1.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)
#B09D30
Deuteranopia (green-blind)
#B09F44
Tritanopia (blue-blind)
#A99A8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa43d;
/* rgb */ color: rgb(159, 164, 61);
/* oklch */ color: oklch(69.4% 0.126 111.9);
Tailwind
colors: {
  custom: {
    50: '#bebe77',
    500: '#9fa43d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa43d;
$custom-light: #bebe77;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa43d",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 61
  },
  "hsl": {
    "h": 62.913,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69437,
    "c": 0.1256,
    "h": 111.9
  },
  "luminance": 0.34259
}

Semantic roles & 50–950 ramp

primary
#9FA43D
secondary
#827FBD
accent
#52D559
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA43D

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

Preview Lab → · Contrast checker → · Palette generator →

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