#1F833B#1F833B

#1F833B is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.140 H 148.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1F833B
RGBrgb(31, 131, 59)
HSLhsl(137, 62%, 32%)
HSVhsv(137, 76%, 51%)
CMYKcmyk(76.3%, 0%, 55%, 48.6%)
CIE-LABlab(48.06, -44.31, 30.75)
CIE-LCHlch(48.06, 53.93, 145.24°)
OKLaboklab(53.74% -0.1192 0.0739)
OKLCHoklch(53.74% 0.14 148.2)
XYZxyz(9.4701, 16.8386, 6.8879)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F833B #831F67
analogous
#35831F #1F833B #1F836D
triadic
#1F833B #3B1F83 #833B1F
tetradic
#1F833B #1F3583 #831F67 #836D1F
square
#1F833B #1F3583 #831F67 #836D1F
split-complementary
#1F833B #6D1F83 #831F35
monochromatic
#08200E #135225 #1F833B #2BB451 #49D470

Accessibility & contrast

On white

4.81
#1F833B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F833B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F833B#FFFFFF#000000##FFFFFF
##1F833B1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847735
Deuteranopia (green-blind)
#796F40
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f833b;
/* rgb */ color: rgb(31, 131, 59);
/* oklch */ color: oklch(53.7% 0.140 148.2);
Tailwind
colors: {
  custom: {
    50: '#6ba873',
    500: '#1f833b',
    950: '#000000',
  },
}
SCSS
$custom: #1f833b;
$custom-light: #6ba873;
$custom-dark: #000000;
JSON
{
  "hex": "#1f833b",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 59
  },
  "hsl": {
    "h": 136.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53738,
    "c": 0.14025,
    "h": 148.2
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

primary
#1F833B
secondary
#B64897
accent
#43B8E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1F833B

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

Preview Lab → · Contrast checker → · Palette generator →

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