#839A1F#839A1F

#839A1F is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.6% C 0.143 H 120.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#839A1F
RGBrgb(131, 154, 31)
HSLhsl(71, 66%, 36%)
HSVhsv(71, 80%, 60%)
CMYKcmyk(14.9%, 0%, 79.9%, 39.6%)
CIE-LABlab(59.92, -24.19, 56.55)
CIE-LCHlch(59.92, 61.51, 113.16°)
OKLaboklab(64.63% -0.0721 0.1238)
OKLCHoklch(64.63% 0.143 120.2)
XYZxyz(21.1634, 28.0355, 5.5925)
Luminance0.2803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#839A1F #361F9A
analogous
#9A741F #839A1F #469A1F
triadic
#839A1F #1F839A #9A1F83
tetradic
#839A1F #1F9A74 #361F9A #9A1F46
square
#839A1F #1F9A74 #361F9A #9A1F46
split-complementary
#839A1F #1F469A #741F9A
monochromatic
#2C340A #586715 #839A1F #AECD29 #C4DD56

Accessibility & contrast

On white

3.18
#839A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#839A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #839A1F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##839A1F#FFFFFF#000000##000000
##839A1F1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A1912B
Tritanopia (blue-blind)
#8B9183
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #839a1f;
/* rgb */ color: rgb(131, 154, 31);
/* oklch */ color: oklch(64.6% 0.143 120.2);
Tailwind
colors: {
  custom: {
    50: '#abb766',
    500: '#839a1f',
    950: '#000000',
  },
}
SCSS
$custom: #839a1f;
$custom-light: #abb766;
$custom-dark: #000000;
JSON
{
  "hex": "#839a1f",
  "rgb": {
    "r": 131,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 71.22,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64625,
    "c": 0.14324,
    "h": 120.2
  },
  "luminance": 0.28035
}

Semantic roles & 50–950 ramp

primary
#839A1F
secondary
#6854C1
accent
#3EE95E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #839A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#839A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva