#9FA83D#9FA83D

#9FA83D is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.3% C 0.130 H 113.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#9FA83D
RGBrgb(159, 168, 61)
HSLhsl(65, 47%, 45%)
HSVhsv(65, 64%, 66%)
CMYKcmyk(5.4%, 0%, 63.7%, 34.1%)
CIE-LABlab(66.30, -17.58, 52.35)
CIE-LCHlch(66.30, 55.23, 108.56°)
OKLaboklab(70.34% -0.0526 0.1191)
OKLCHoklch(70.34% 0.13 113.8)
XYZxyz(29.1437, 35.7137, 9.7721)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA83D #463DA8
analogous
#A87C3D #9FA83D #69A83D
triadic
#9FA83D #3D9FA8 #A83D9F
tetradic
#9FA83D #3DA87C #463DA8 #A83D69
square
#9FA83D #3DA87C #463DA8 #A83D69
split-complementary
#9FA83D #3D69A8 #7C3DA8
monochromatic
#4A4E1C #757B2D #9FA83D #BCC45E #CFD58B

Accessibility & contrast

On white

2.58
#9FA83D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#9FA83D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA83D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA83D#FFFFFF#000000##000000
##9FA83D1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02F
Deuteranopia (green-blind)
#B4A244
Tritanopia (blue-blind)
#A99E92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa83d;
/* rgb */ color: rgb(159, 168, 61);
/* oklch */ color: oklch(70.3% 0.130 113.8);
Tailwind
colors: {
  custom: {
    50: '#bec178',
    500: '#9fa83d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa83d;
$custom-light: #bec178;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa83d",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 61
  },
  "hsl": {
    "h": 65.047,
    "s": 46.725,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70343,
    "c": 0.13019,
    "h": 113.8
  },
  "luminance": 0.35713
}

Semantic roles & 50–950 ramp

primary
#9FA83D
secondary
#8781BF
accent
#51D65D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA83D

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

Preview Lab → · Contrast checker → · Palette generator →

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