#9FA83C#9FA83C

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

Color values

HEX#9FA83C
RGBrgb(159, 168, 60)
HSLhsl(65, 47%, 45%)
HSVhsv(65, 64%, 66%)
CMYKcmyk(5.4%, 0%, 64.3%, 34.1%)
CIE-LABlab(66.29, -17.65, 52.77)
CIE-LCHlch(66.29, 55.64, 108.49°)
OKLaboklab(70.33% -0.0529 0.1198)
OKLCHoklch(70.33% 0.131 113.8)
XYZxyz(29.1171, 35.7030, 9.6316)
Luminance0.3570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA83C #453CA8
analogous
#A87B3C #9FA83C #69A83C
triadic
#9FA83C #3C9FA8 #A83C9F
tetradic
#9FA83C #3CA87B #453CA8 #A83C69
square
#9FA83C #3CA87B #453CA8 #A83C69
split-complementary
#9FA83C #3C69A8 #7B3CA8
monochromatic
#4A4E1C #747B2C #9FA83C #BCC55C #CFD589

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA83C#FFFFFF#000000##000000
##9FA83C1.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)
#B4A02E
Deuteranopia (green-blind)
#B4A243
Tritanopia (blue-blind)
#A99E92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa83c;
/* rgb */ color: rgb(159, 168, 60);
/* oklch */ color: oklch(70.3% 0.131 113.8);
Tailwind
colors: {
  custom: {
    50: '#bec177',
    500: '#9fa83c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa83c;
$custom-light: #bec177;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa83c",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 60
  },
  "hsl": {
    "h": 65,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70334,
    "c": 0.13098,
    "h": 113.8
  },
  "luminance": 0.35702
}

Semantic roles & 50–950 ramp

primary
#9FA83C
secondary
#8680BF
accent
#51D75C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA83C

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

Preview Lab → · Contrast checker → · Palette generator →

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