#1F8A30#1F8A30

#1F8A30 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.159 H 145.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#1F8A30
RGBrgb(31, 138, 48)
HSLhsl(130, 63%, 33%)
HSVhsv(130, 78%, 54%)
CMYKcmyk(77.5%, 0%, 65.2%, 45.9%)
CIE-LABlab(50.31, -48.33, 38.80)
CIE-LCHlch(50.31, 61.97, 141.24°)
OKLaboklab(55.57% -0.1304 0.0905)
OKLCHoklch(55.57% 0.159 145.2)
XYZxyz(10.1863, 18.6805, 5.8646)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A30 #8A1F79
analogous
#438A1F #1F8A30 #1F8A65
triadic
#1F8A30 #301F8A #8A301F
tetradic
#1F8A30 #1F438A #8A1F79 #8A651F
square
#1F8A30 #1F438A #8A1F79 #8A651F
split-complementary
#1F8A30 #651F8A #8A1F43
monochromatic
#09260D #14581F #1F8A30 #2ABC41 #4CD762

Accessibility & contrast

On white

4.43
#1F8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#1F8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A30
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A30#FFFFFF#000000##000000
##1F8A301.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D25
Deuteranopia (green-blind)
#807438
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a30;
/* rgb */ color: rgb(31, 138, 48);
/* oklch */ color: oklch(55.6% 0.159 145.2);
Tailwind
colors: {
  custom: {
    50: '#6dad6c',
    500: '#1f8a30',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a30;
$custom-light: #6dad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a30",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 129.533,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55567,
    "c": 0.1587,
    "h": 145.2
  },
  "luminance": 0.18682
}

Semantic roles & 50–950 ramp

primary
#1F8A30
secondary
#BA4BA8
accent
#41CCE6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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