#39831B#39831B

#39831B is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.154 H 138.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#39831B
RGBrgb(57, 131, 27)
HSLhsl(103, 66%, 31%)
HSVhsv(103, 79%, 51%)
CMYKcmyk(56.5%, 0%, 79.4%, 48.6%)
CIE-LABlab(48.49, -41.91, 45.68)
CIE-LCHlch(48.49, 61.99, 132.54°)
OKLaboklab(54.21% -0.1157 0.102)
OKLCHoklch(54.21% 0.154 138.6)
XYZxyz(10.0011, 17.1808, 3.8259)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39831B #651B83
analogous
#6D831B #39831B #1B8331
triadic
#39831B #1B3983 #831B39
tetradic
#39831B #1B6D83 #651B83 #83311B
square
#39831B #1B6D83 #651B83 #83311B
split-complementary
#39831B #311B83 #831B6D
monochromatic
#0D1E06 #235011 #39831B #4FB625 #6CD841

Accessibility & contrast

On white

4.73
#39831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#39831B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #39831B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39831B#FFFFFF#000000##FFFFFF
##39831B1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877701
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#327E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #39831b;
/* rgb */ color: rgb(57, 131, 27);
/* oklch */ color: oklch(54.2% 0.154 138.6);
Tailwind
colors: {
  custom: {
    50: '#78a860',
    500: '#39831b',
    950: '#000000',
  },
}
SCSS
$custom: #39831b;
$custom-light: #78a860;
$custom-dark: #000000;
JSON
{
  "hex": "#39831b",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 102.692,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54205,
    "c": 0.15422,
    "h": 138.6
  },
  "luminance": 0.17182
}

Semantic roles & 50–950 ramp

primary
#39831B
secondary
#9543B6
accent
#3FE9B8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #39831B

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

Preview Lab → · Contrast checker → · Palette generator →

#39831B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva