#1F8D30#1F8D30

#1F8D30 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.162 H 145.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1F8D30
RGBrgb(31, 141, 48)
HSLhsl(129, 64%, 34%)
HSVhsv(129, 78%, 55%)
CMYKcmyk(78%, 0%, 66%, 44.7%)
CIE-LABlab(51.33, -49.36, 39.93)
CIE-LCHlch(51.33, 63.49, 141.03°)
OKLaboklab(56.41% -0.1332 0.0929)
OKLCHoklch(56.41% 0.162 145.1)
XYZxyz(10.6227, 19.5532, 6.0100)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D30 #8D1F7C
analogous
#458D1F #1F8D30 #1F8D67
triadic
#1F8D30 #301F8D #8D301F
tetradic
#1F8D30 #1F458D #8D1F7C #8D671F
square
#1F8D30 #1F458D #8D1F7C #8D671F
split-complementary
#1F8D30 #671F8D #8D1F45
monochromatic
#09290E #145B1F #1F8D30 #2ABF41 #4ED864

Accessibility & contrast

On white

4.28
#1F8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#1F8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D30
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D30#FFFFFF#000000##000000
##1F8D301.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F25
Deuteranopia (green-blind)
#837738
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8d30;
/* rgb */ color: rgb(31, 141, 48);
/* oklch */ color: oklch(56.4% 0.162 145.1);
Tailwind
colors: {
  custom: {
    50: '#6eaf6c',
    500: '#1f8d30',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d30;
$custom-light: #6eaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d30",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 129.273,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.16239,
    "h": 145.1
  },
  "luminance": 0.19554
}

Semantic roles & 50–950 ramp

primary
#1F8D30
secondary
#BB4DAA
accent
#41CDE7
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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