#1F9830#1F9830

#1F9830 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.5% C 0.176 H 144.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#1F9830
RGBrgb(31, 152, 48)
HSLhsl(128, 66%, 36%)
HSVhsv(128, 80%, 60%)
CMYKcmyk(79.6%, 0%, 68.4%, 40.4%)
CIE-LABlab(55.03, -53.08, 43.99)
CIE-LCHlch(55.03, 68.94, 140.35°)
OKLaboklab(59.49% -0.1433 0.1015)
OKLCHoklch(59.49% 0.176 144.7)
XYZxyz(12.3260, 22.9597, 6.5778)
Luminance0.2296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9830 #981F87
analogous
#4A981F #1F9830 #1F986C
triadic
#1F9830 #301F98 #98301F
tetradic
#1F9830 #1F4A98 #981F87 #986C1F
square
#1F9830 #1F4A98 #981F87 #986C1F
split-complementary
#1F9830 #6C1F98 #981F4A
monochromatic
#0A3210 #156520 #1F9830 #29CB40 #55DC68

Accessibility & contrast

On white

3.76
#1F9830 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#1F9830 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9830
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9830#FFFFFF#000000##000000
##1F98301.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8922
Deuteranopia (green-blind)
#8E803A
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9830;
/* rgb */ color: rgb(31, 152, 48);
/* oklch */ color: oklch(59.5% 0.176 144.7);
Tailwind
colors: {
  custom: {
    50: '#71b76d',
    500: '#1f9830',
    950: '#000000',
  },
}
SCSS
$custom: #1f9830;
$custom-light: #71b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9830",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 48
  },
  "hsl": {
    "h": 128.43,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59486,
    "c": 0.1756,
    "h": 144.7
  },
  "luminance": 0.22961
}

Semantic roles & 50–950 ramp

primary
#1F9830
secondary
#C053B1
accent
#3FD1E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9830

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

Preview Lab → · Contrast checker → · Palette generator →

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