#839D1F#839D1F

#839D1F is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.3% C 0.147 H 121.2°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#839D1F
RGBrgb(131, 157, 31)
HSLhsl(72, 67%, 37%)
HSVhsv(72, 80%, 62%)
CMYKcmyk(16.6%, 0%, 80.3%, 38.4%)
CIE-LABlab(60.82, -25.67, 57.36)
CIE-LCHlch(60.82, 62.85, 114.11°)
OKLaboklab(65.35% -0.0761 0.1255)
OKLCHoklch(65.35% 0.147 121.2)
XYZxyz(21.6648, 29.0382, 5.7596)
Luminance0.2904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#839D1F #391F9D
analogous
#9D781F #839D1F #449D1F
triadic
#839D1F #1F839D #9D1F83
tetradic
#839D1F #1F9D78 #391F9D #9D1F44
square
#839D1F #1F9D78 #391F9D #9D1F44
split-complementary
#839D1F #1F449D #781F9D
monochromatic
#2E370B #586A15 #839D1F #AED029 #C2DE58

Accessibility & contrast

On white

3.08
#839D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#839D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #839D1F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##839D1F#FFFFFF#000000##000000
##839D1F1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A4932C
Tritanopia (blue-blind)
#8B9486
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #839d1f;
/* rgb */ color: rgb(131, 157, 31);
/* oklch */ color: oklch(65.3% 0.147 121.2);
Tailwind
colors: {
  custom: {
    50: '#abba67',
    500: '#839d1f',
    950: '#000000',
  },
}
SCSS
$custom: #839d1f;
$custom-light: #abba67;
$custom-dark: #000000;
JSON
{
  "hex": "#839d1f",
  "rgb": {
    "r": 131,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 72.381,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65347,
    "c": 0.14678,
    "h": 121.2
  },
  "luminance": 0.29038
}

Semantic roles & 50–950 ramp

primary
#839D1F
secondary
#6C56C2
accent
#3EEA61
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #839D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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