#1F833D#1F833D

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

Color values

HEX#1F833D
RGBrgb(31, 131, 61)
HSLhsl(138, 62%, 32%)
HSVhsv(138, 76%, 51%)
CMYKcmyk(76.3%, 0%, 53.4%, 48.6%)
CIE-LABlab(48.08, -43.99, 29.74)
CIE-LCHlch(48.08, 53.10, 145.94°)
OKLaboklab(53.77% -0.1183 0.0718)
OKLCHoklch(53.77% 0.138 148.8)
XYZxyz(9.5229, 16.8597, 7.1663)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F833D #831F65
analogous
#33831F #1F833D #1F836F
triadic
#1F833D #3D1F83 #833D1F
tetradic
#1F833D #1F3383 #831F65 #836F1F
square
#1F833D #1F3383 #831F65 #836F1F
split-complementary
#1F833D #6F1F83 #831F33
monochromatic
#08200F #135226 #1F833D #2BB454 #49D472

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F833D#FFFFFF#000000##FFFFFF
##1F833D1.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)
#847737
Deuteranopia (green-blind)
#796F42
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f833d;
/* rgb */ color: rgb(31, 131, 61);
/* oklch */ color: oklch(53.8% 0.138 148.8);
Tailwind
colors: {
  custom: {
    50: '#6ba874',
    500: '#1f833d',
    950: '#000000',
  },
}
SCSS
$custom: #1f833d;
$custom-light: #6ba874;
$custom-dark: #000000;
JSON
{
  "hex": "#1f833d",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 61
  },
  "hsl": {
    "h": 138,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53769,
    "c": 0.13839,
    "h": 148.8
  },
  "luminance": 0.16861
}

Semantic roles & 50–950 ramp

primary
#1F833D
secondary
#B64895
accent
#43B4E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1F833D

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

Preview Lab → · Contrast checker → · Palette generator →

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