#9FA03F#9FA03F

#9FA03F is a light, moderate yellow. Relative luminance 0.329; OKLCH L 68.6% C 0.119 H 109.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9FA03F
RGBrgb(159, 160, 63)
HSLhsl(61, 43%, 44%)
HSVhsv(61, 61%, 63%)
CMYKcmyk(0.6%, 0%, 60.6%, 37.3%)
CIE-LABlab(64.06, -13.31, 49.06)
CIE-LCHlch(64.06, 50.84, 105.17°)
OKLaboklab(68.55% -0.0403 0.1124)
OKLCHoklch(68.55% 0.119 109.7)
XYZxyz(27.7669, 32.8721, 9.5839)
Luminance0.3287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA03F #403FA0
analogous
#A0703F #9FA03F #6EA03F
triadic
#9FA03F #3F9FA0 #A03F9F
tetradic
#9FA03F #3FA070 #403FA0 #A03F6E
square
#9FA03F #3FA070 #403FA0 #A03F6E
split-complementary
#9FA03F #3F6EA0 #703FA0
monochromatic
#48481C #73742E #9FA03F #BEBF5D #D0D089

Accessibility & contrast

On white

2.77
#9FA03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#9FA03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA03F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA03F#FFFFFF#000000##000000
##9FA03F1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A34
Deuteranopia (green-blind)
#AD9D45
Tritanopia (blue-blind)
#AA978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa03f;
/* rgb */ color: rgb(159, 160, 63);
/* oklch */ color: oklch(68.6% 0.119 109.7);
Tailwind
colors: {
  custom: {
    50: '#bebb78',
    500: '#9fa03f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa03f;
$custom-light: #bebb78;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa03f",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 63
  },
  "hsl": {
    "h": 60.619,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68555,
    "c": 0.11943,
    "h": 109.7
  },
  "luminance": 0.32871
}

Semantic roles & 50–950 ramp

primary
#9FA03F
secondary
#8080BB
accent
#55D356
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9FA03F

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

Preview Lab → · Contrast checker → · Palette generator →

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