#1F833E#1F833E

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

Color values

HEX#1F833E
RGBrgb(31, 131, 62)
HSLhsl(139, 62%, 32%)
HSVhsv(139, 76%, 51%)
CMYKcmyk(76.3%, 0%, 52.7%, 48.6%)
CIE-LABlab(48.10, -43.83, 29.23)
CIE-LCHlch(48.10, 52.68, 146.30°)
OKLaboklab(53.79% -0.1179 0.0707)
OKLCHoklch(53.79% 0.137 149)
XYZxyz(9.5501, 16.8706, 7.3095)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F833E #831F64
analogous
#32831F #1F833E #1F8370
triadic
#1F833E #3E1F83 #833E1F
tetradic
#1F833E #1F3283 #831F64 #83701F
square
#1F833E #1F3283 #831F64 #83701F
split-complementary
#1F833E #701F83 #831F32
monochromatic
#08200F #135227 #1F833E #2BB455 #49D474

Accessibility & contrast

On white

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

On black

4.37
#1F833E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F833E#FFFFFF#000000##FFFFFF
##1F833E1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f833e;
/* rgb */ color: rgb(31, 131, 62);
/* oklch */ color: oklch(53.8% 0.137 149.0);
Tailwind
colors: {
  custom: {
    50: '#6ba875',
    500: '#1f833e',
    950: '#000000',
  },
}
SCSS
$custom: #1f833e;
$custom-light: #6ba875;
$custom-dark: #000000;
JSON
{
  "hex": "#1f833e",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 62
  },
  "hsl": {
    "h": 138.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53785,
    "c": 0.13745,
    "h": 149
  },
  "luminance": 0.16872
}

Semantic roles & 50–950 ramp

primary
#1F833E
secondary
#B64894
accent
#43B3E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1F833E

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

Preview Lab → · Contrast checker → · Palette generator →

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