#839B21#839B21

#839B21 is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.9% C 0.143 H 120.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#839B21
RGBrgb(131, 155, 33)
HSLhsl(72, 65%, 37%)
HSVhsv(72, 79%, 61%)
CMYKcmyk(15.5%, 0%, 78.7%, 39.2%)
CIE-LABlab(60.23, -24.60, 56.22)
CIE-LCHlch(60.23, 61.36, 113.63°)
OKLaboklab(64.88% -0.073 0.1234)
OKLCHoklch(64.88% 0.143 120.6)
XYZxyz(21.3563, 28.3778, 5.7909)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#839B21 #39219B
analogous
#9B7621 #839B21 #469B21
triadic
#839B21 #21839B #9B2183
tetradic
#839B21 #219B76 #39219B #9B2146
square
#839B21 #219B76 #39219B #9B2146
split-complementary
#839B21 #21469B #76219B
monochromatic
#2E360C #586916 #839B21 #AECD2C #C2DC5A

Accessibility & contrast

On white

3.15
#839B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#839B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #839B21
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##839B21#FFFFFF#000000##000000
##839B211.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#8B9284
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #839b21;
/* rgb */ color: rgb(131, 155, 33);
/* oklch */ color: oklch(64.9% 0.143 120.6);
Tailwind
colors: {
  custom: {
    50: '#abb867',
    500: '#839b21',
    950: '#000000',
  },
}
SCSS
$custom: #839b21;
$custom-light: #abb867;
$custom-dark: #000000;
JSON
{
  "hex": "#839b21",
  "rgb": {
    "r": 131,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 71.803,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64876,
    "c": 0.14341,
    "h": 120.6
  },
  "luminance": 0.28378
}

Semantic roles & 50–950 ramp

primary
#839B21
secondary
#6C58C0
accent
#40E861
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #839B21

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

Preview Lab → · Contrast checker → · Palette generator →

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