#839D21#839D21

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

Color values

HEX#839D21
RGBrgb(131, 157, 33)
HSLhsl(73, 65%, 37%)
HSVhsv(73, 79%, 62%)
CMYKcmyk(16.6%, 0%, 79%, 38.4%)
CIE-LABlab(60.82, -25.59, 56.76)
CIE-LCHlch(60.82, 62.26, 114.26°)
OKLaboklab(65.36% -0.0757 0.1246)
OKLCHoklch(65.36% 0.146 121.3)
XYZxyz(21.6919, 29.0490, 5.9028)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#839D21 #3B219D
analogous
#9D7921 #839D21 #459D21
triadic
#839D21 #21839D #9D2183
tetradic
#839D21 #219D79 #3B219D #9D2145
square
#839D21 #219D79 #3B219D #9D2145
split-complementary
#839D21 #21459D #79219D
monochromatic
#2F380C #596A16 #839D21 #ADD02C #C2DD5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##839D21#FFFFFF#000000##000000
##839D211.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)
#A4932D
Tritanopia (blue-blind)
#8B9486
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #839d21;
/* rgb */ color: rgb(131, 157, 33);
/* oklch */ color: oklch(65.4% 0.146 121.3);
Tailwind
colors: {
  custom: {
    50: '#abba68',
    500: '#839d21',
    950: '#000000',
  },
}
SCSS
$custom: #839d21;
$custom-light: #abba68;
$custom-dark: #000000;
JSON
{
  "hex": "#839d21",
  "rgb": {
    "r": 131,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 72.581,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65357,
    "c": 0.14579,
    "h": 121.3
  },
  "luminance": 0.29049
}

Semantic roles & 50–950 ramp

primary
#839D21
secondary
#6F59C1
accent
#40E863
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #839D21

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

Preview Lab → · Contrast checker → · Palette generator →

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