#1F834D#1F834D

#1F834D is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.123 H 154.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1F834D
RGBrgb(31, 131, 77)
HSLhsl(148, 62%, 32%)
HSVhsv(148, 76%, 51%)
CMYKcmyk(76.3%, 0%, 41.2%, 48.6%)
CIE-LABlab(48.33, -41.10, 21.34)
CIE-LCHlch(48.33, 46.31, 152.56°)
OKLaboklab(54.06% -0.1108 0.0531)
OKLCHoklch(54.06% 0.123 154.4)
XYZxyz(10.0200, 17.0586, 9.7843)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F834D #831F55
analogous
#23831F #1F834D #1F837F
triadic
#1F834D #4D1F83 #834D1F
tetradic
#1F834D #1F2383 #831F55 #837F1F
square
#1F834D #1F2383 #831F55 #837F1F
split-complementary
#1F834D #7F1F83 #831F23
monochromatic
#082013 #135230 #1F834D #2BB46A #49D489

Accessibility & contrast

On white

4.76
#1F834D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F834D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F834D#FFFFFF#000000##FFFFFF
##1F834D1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837849
Deuteranopia (green-blind)
#776F51
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f834d;
/* rgb */ color: rgb(31, 131, 77);
/* oklch */ color: oklch(54.1% 0.123 154.4);
Tailwind
colors: {
  custom: {
    50: '#6ba87f',
    500: '#1f834d',
    950: '#000000',
  },
}
SCSS
$custom: #1f834d;
$custom-light: #6ba87f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f834d",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 77
  },
  "hsl": {
    "h": 147.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.1229,
    "h": 154.4
  },
  "luminance": 0.1706
}

Semantic roles & 50–950 ramp

primary
#1F834D
secondary
#B64883
accent
#439AE5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#07100A
muted
#7A7F7C

Preview Lab

Preview with #1F834D

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

Preview Lab → · Contrast checker → · Palette generator →

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