#9FA82E#9FA82E

#9FA82E is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.2% C 0.141 H 113.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9FA82E
RGBrgb(159, 168, 46)
HSLhsl(64, 57%, 42%)
HSVhsv(64, 73%, 66%)
CMYKcmyk(5.4%, 0%, 72.6%, 34.1%)
CIE-LABlab(66.19, -18.47, 58.18)
CIE-LCHlch(66.19, 61.04, 107.61°)
OKLaboklab(70.22% -0.0566 0.1289)
OKLCHoklch(70.22% 0.141 113.7)
XYZxyz(28.7947, 35.5740, 7.9339)
Luminance0.3557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA82E #372EA8
analogous
#A8742E #9FA82E #62A82E
triadic
#9FA82E #2E9FA8 #A82E9F
tetradic
#9FA82E #2EA874 #372EA8 #A82E62
square
#9FA82E #2EA874 #372EA8 #A82E62
split-complementary
#9FA82E #2E62A8 #742EA8
monochromatic
#444814 #727821 #9FA82E #C3CD47 #D2DA77

Accessibility & contrast

On white

2.59
#9FA82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#9FA82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA82E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA82E#FFFFFF#000000##000000
##9FA82E1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A017
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa82e;
/* rgb */ color: rgb(159, 168, 46);
/* oklch */ color: oklch(70.2% 0.141 113.7);
Tailwind
colors: {
  custom: {
    50: '#bfc170',
    500: '#9fa82e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa82e;
$custom-light: #bfc170;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa82e",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 64.426,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70222,
    "c": 0.14079,
    "h": 113.7
  },
  "luminance": 0.35573
}

Semantic roles & 50–950 ramp

primary
#9FA82E
secondary
#7670C2
accent
#48E053
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA82E

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

Preview Lab → · Contrast checker → · Palette generator →

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