#1F9834#1F9834

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

Color values

HEX#1F9834
RGBrgb(31, 152, 52)
HSLhsl(130, 66%, 36%)
HSVhsv(130, 80%, 60%)
CMYKcmyk(79.6%, 0%, 65.8%, 40.4%)
CIE-LABlab(55.07, -52.65, 42.28)
CIE-LCHlch(55.07, 67.53, 141.23°)
OKLaboklab(59.53% -0.142 0.0983)
OKLCHoklch(59.53% 0.173 145.3)
XYZxyz(12.4123, 22.9942, 7.0323)
Luminance0.2300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9834 #981F83
analogous
#46981F #1F9834 #1F9870
triadic
#1F9834 #341F98 #98341F
tetradic
#1F9834 #1F4698 #981F83 #98701F
square
#1F9834 #1F4698 #981F83 #98701F
split-complementary
#1F9834 #701F98 #981F46
monochromatic
#0A3211 #156523 #1F9834 #29CB45 #55DC6D

Accessibility & contrast

On white

3.75
#1F9834 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#1F9834 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9834
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9834#FFFFFF#000000##000000
##1F98341.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9834;
/* rgb */ color: rgb(31, 152, 52);
/* oklch */ color: oklch(59.5% 0.173 145.3);
Tailwind
colors: {
  custom: {
    50: '#71b770',
    500: '#1f9834',
    950: '#000000',
  },
}
SCSS
$custom: #1f9834;
$custom-light: #71b770;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9834",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 52
  },
  "hsl": {
    "h": 130.413,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59527,
    "c": 0.17268,
    "h": 145.3
  },
  "luminance": 0.22996
}

Semantic roles & 50–950 ramp

primary
#1F9834
secondary
#C053AD
accent
#3FCBE9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9834

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

Preview Lab → · Contrast checker → · Palette generator →

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