#1F8630#1F8630

#1F8630 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.154 H 145.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#1F8630
RGBrgb(31, 134, 48)
HSLhsl(130, 62%, 32%)
HSVhsv(130, 77%, 53%)
CMYKcmyk(76.9%, 0%, 64.2%, 47.5%)
CIE-LABlab(48.95, -46.92, 37.27)
CIE-LCHlch(48.95, 59.92, 141.54°)
OKLaboklab(54.44% -0.1266 0.0872)
OKLCHoklch(54.44% 0.154 145.4)
XYZxyz(9.6230, 17.5538, 5.6768)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8630 #861F75
analogous
#42861F #1F8630 #1F8664
triadic
#1F8630 #301F86 #86301F
tetradic
#1F8630 #1F4286 #861F75 #86641F
square
#1F8630 #1F4286 #861F75 #86641F
split-complementary
#1F8630 #641F86 #861F42
monochromatic
#08230C #14541E #1F8630 #2AB842 #4AD561

Accessibility & contrast

On white

4.66
#1F8630 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#1F8630 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8630
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8630#FFFFFF#000000##FFFFFF
##1F86301.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887926
Deuteranopia (green-blind)
#7D7137
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8630;
/* rgb */ color: rgb(31, 134, 48);
/* oklch */ color: oklch(54.4% 0.154 145.4);
Tailwind
colors: {
  custom: {
    50: '#6caa6c',
    500: '#1f8630',
    950: '#000000',
  },
}
SCSS
$custom: #1f8630;
$custom-light: #6caa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8630",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 48
  },
  "hsl": {
    "h": 129.903,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54438,
    "c": 0.15371,
    "h": 145.4
  },
  "luminance": 0.17555
}

Semantic roles & 50–950 ramp

primary
#1F8630
secondary
#B849A5
accent
#42CBE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8630

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

Preview Lab → · Contrast checker → · Palette generator →

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