#1F8830#1F8830

#1F8830 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.156 H 145.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#1F8830
RGBrgb(31, 136, 48)
HSLhsl(130, 63%, 33%)
HSVhsv(130, 77%, 53%)
CMYKcmyk(77.2%, 0%, 64.7%, 46.7%)
CIE-LABlab(49.63, -47.63, 38.04)
CIE-LCHlch(49.63, 60.95, 141.39°)
OKLaboklab(55% -0.1285 0.0888)
OKLCHoklch(55% 0.156 145.3)
XYZxyz(9.9020, 18.1119, 5.7698)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8830 #881F77
analogous
#43881F #1F8830 #1F8864
triadic
#1F8830 #301F88 #88301F
tetradic
#1F8830 #1F4388 #881F77 #88641F
square
#1F8830 #1F4388 #881F77 #88641F
split-complementary
#1F8830 #641F88 #881F43
monochromatic
#08240D #14561E #1F8830 #2ABA42 #4BD662

Accessibility & contrast

On white

4.54
#1F8830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#1F8830 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8830
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8830#FFFFFF#000000##000000
##1F88301.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B26
Deuteranopia (green-blind)
#7E7338
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8830;
/* rgb */ color: rgb(31, 136, 48);
/* oklch */ color: oklch(55.0% 0.156 145.3);
Tailwind
colors: {
  custom: {
    50: '#6dac6c',
    500: '#1f8830',
    950: '#000000',
  },
}
SCSS
$custom: #1f8830;
$custom-light: #6dac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8830",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 48
  },
  "hsl": {
    "h": 129.714,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.15621,
    "h": 145.3
  },
  "luminance": 0.18113
}

Semantic roles & 50–950 ramp

primary
#1F8830
secondary
#B94AA7
accent
#42CBE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8830

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

Preview Lab → · Contrast checker → · Palette generator →

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