#1F834E#1F834E

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

Color values

HEX#1F834E
RGBrgb(31, 131, 78)
HSLhsl(148, 62%, 32%)
HSVhsv(148, 76%, 51%)
CMYKcmyk(76.3%, 0%, 40.5%, 48.6%)
CIE-LABlab(48.35, -40.90, 20.80)
CIE-LCHlch(48.35, 45.88, 153.04°)
OKLaboklab(54.08% -0.1103 0.0519)
OKLCHoklch(54.08% 0.122 154.8)
XYZxyz(10.0556, 17.0728, 9.9717)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F834E #831F54
analogous
#22831F #1F834E #1F8380
triadic
#1F834E #4E1F83 #834E1F
tetradic
#1F834E #1F2283 #831F54 #83801F
square
#1F834E #1F2283 #831F54 #83801F
split-complementary
#1F834E #801F83 #831F22
monochromatic
#082013 #135231 #1F834E #2BB46B #49D48A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F834E#FFFFFF#000000##FFFFFF
##1F834E1.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)
#83784A
Deuteranopia (green-blind)
#776F52
Tritanopia (blue-blind)
#008276
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f834e;
/* rgb */ color: rgb(31, 131, 78);
/* oklch */ color: oklch(54.1% 0.122 154.8);
Tailwind
colors: {
  custom: {
    50: '#6ba880',
    500: '#1f834e',
    950: '#000000',
  },
}
SCSS
$custom: #1f834e;
$custom-light: #6ba880;
$custom-dark: #000000;
JSON
{
  "hex": "#1f834e",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 78
  },
  "hsl": {
    "h": 148.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.12192,
    "h": 154.8
  },
  "luminance": 0.17074
}

Semantic roles & 50–950 ramp

primary
#1F834E
secondary
#B64882
accent
#4399E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#07100A
muted
#7A7F7C

Preview Lab

Preview with #1F834E

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

Preview Lab → · Contrast checker → · Palette generator →

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