#1F6830#1F6830

#1F6830 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.113 H 147.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#1F6830
RGBrgb(31, 104, 48)
HSLhsl(134, 54%, 26%)
HSVhsv(134, 70%, 41%)
CMYKcmyk(70.2%, 0%, 53.8%, 59.2%)
CIE-LABlab(38.56, -35.55, 24.99)
CIE-LCHlch(38.56, 43.46, 144.89°)
OKLaboklab(45.84% -0.0959 0.0604)
OKLCHoklch(45.84% 0.113 147.8)
XYZxyz(6.0485, 10.4047, 4.4853)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6830 #681F57
analogous
#33681F #1F6830 #1F6855
triadic
#1F6830 #301F68 #68301F
tetradic
#1F6830 #1F3368 #681F57 #68551F
square
#1F6830 #1F3368 #681F57 #68551F
split-complementary
#1F6830 #551F68 #681F33
monochromatic
#07180B #11391A #1F6830 #2D9746 #3CC55C

Accessibility & contrast

On white

6.82
#1F6830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#1F6830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6830
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6830#FFFFFF#000000##FFFFFF
##1F68301.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F2B
Deuteranopia (green-blind)
#605834
Tritanopia (blue-blind)
#04665B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f6830;
/* rgb */ color: rgb(31, 104, 48);
/* oklch */ color: oklch(45.8% 0.113 147.8);
Tailwind
colors: {
  custom: {
    50: '#659469',
    500: '#1f6830',
    950: '#000000',
  },
}
SCSS
$custom: #1f6830;
$custom-light: #659469;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6830",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 133.973,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.11333,
    "h": 147.8
  },
  "luminance": 0.10405
}

Semantic roles & 50–950 ramp

primary
#1F6830
secondary
#9C4688
accent
#4ABBDD
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F6830

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

Preview Lab → · Contrast checker → · Palette generator →

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