#1F834B#1F834B

#1F834B is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.125 H 153.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1F834B
RGBrgb(31, 131, 75)
HSLhsl(146, 62%, 32%)
HSVhsv(146, 76%, 51%)
CMYKcmyk(76.3%, 0%, 42.7%, 48.6%)
CIE-LABlab(48.30, -41.50, 22.41)
CIE-LCHlch(48.30, 47.16, 151.63°)
OKLaboklab(54.02% -0.1118 0.0556)
OKLCHoklch(54.02% 0.125 153.6)
XYZxyz(9.9505, 17.0307, 9.4181)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F834B #831F57
analogous
#25831F #1F834B #1F837D
triadic
#1F834B #4B1F83 #834B1F
tetradic
#1F834B #1F2583 #831F57 #837D1F
square
#1F834B #1F2583 #831F57 #837D1F
split-complementary
#1F834B #7D1F83 #831F25
monochromatic
#082012 #13522F #1F834B #2BB467 #49D486

Accessibility & contrast

On white

4.77
#1F834B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#1F834B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F834B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F834B#FFFFFF#000000##FFFFFF
##1F834B1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837847
Deuteranopia (green-blind)
#776F4F
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f834b;
/* rgb */ color: rgb(31, 131, 75);
/* oklch */ color: oklch(54.0% 0.125 153.6);
Tailwind
colors: {
  custom: {
    50: '#6ba87e',
    500: '#1f834b',
    950: '#000000',
  },
}
SCSS
$custom: #1f834b;
$custom-light: #6ba87e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f834b",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 75
  },
  "hsl": {
    "h": 146.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54018,
    "c": 0.12485,
    "h": 153.6
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#1F834B
secondary
#B64885
accent
#439EE5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#07100A
muted
#7A7F7C

Preview Lab

Preview with #1F834B

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

Preview Lab → · Contrast checker → · Palette generator →

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