#1F833F#1F833F

#1F833F is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.137 H 149.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1F833F
RGBrgb(31, 131, 63)
HSLhsl(139, 62%, 32%)
HSVhsv(139, 76%, 51%)
CMYKcmyk(76.3%, 0%, 51.9%, 48.6%)
CIE-LABlab(48.11, -43.67, 28.71)
CIE-LCHlch(48.11, 52.26, 146.67°)
OKLaboklab(53.8% -0.1174 0.0696)
OKLCHoklch(53.8% 0.137 149.3)
XYZxyz(9.5778, 16.8817, 7.4554)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F833F #831F63
analogous
#31831F #1F833F #1F8371
triadic
#1F833F #3F1F83 #833F1F
tetradic
#1F833F #1F3183 #831F63 #83711F
square
#1F833F #1F3183 #831F63 #83711F
split-complementary
#1F833F #711F83 #831F31
monochromatic
#08200F #135227 #1F833F #2BB457 #49D475

Accessibility & contrast

On white

4.80
#1F833F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#1F833F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F833F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F833F#FFFFFF#000000##FFFFFF
##1F833F1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847739
Deuteranopia (green-blind)
#786F44
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f833f;
/* rgb */ color: rgb(31, 131, 63);
/* oklch */ color: oklch(53.8% 0.137 149.3);
Tailwind
colors: {
  custom: {
    50: '#6ba875',
    500: '#1f833f',
    950: '#000000',
  },
}
SCSS
$custom: #1f833f;
$custom-light: #6ba875;
$custom-dark: #000000;
JSON
{
  "hex": "#1f833f",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 63
  },
  "hsl": {
    "h": 139.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.1365,
    "h": 149.3
  },
  "luminance": 0.16883
}

Semantic roles & 50–950 ramp

primary
#1F833F
secondary
#B64893
accent
#43B1E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1F833F

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

Preview Lab → · Contrast checker → · Palette generator →

#1F833F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva