#1F9F38#1F9F38

#1F9F38 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.5% C 0.178 H 145.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#1F9F38
RGBrgb(31, 159, 56)
HSLhsl(132, 67%, 37%)
HSVhsv(132, 81%, 62%)
CMYKcmyk(80.5%, 0%, 64.8%, 37.6%)
CIE-LABlab(57.44, -54.53, 43.14)
CIE-LCHlch(57.44, 69.53, 141.65°)
OKLaboklab(61.51% -0.1469 0.1005)
OKLCHoklch(61.51% 0.178 145.6)
XYZxyz(13.6760, 25.3714, 7.9170)
Luminance0.2537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9F38 #9F1F86
analogous
#469F1F #1F9F38 #1F9F78
triadic
#1F9F38 #381F9F #9F381F
tetradic
#1F9F38 #1F469F #9F1F86 #9F781F
square
#1F9F38 #1F469F #9F1F86 #9F781F
split-complementary
#1F9F38 #781F9F #9F1F46
monochromatic
#0B3914 #156C26 #1F9F38 #29D24A #5ADF74

Accessibility & contrast

On white

3.46
#1F9F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#1F9F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9F38
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9F38#FFFFFF#000000##000000
##1F9F381.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2902C
Deuteranopia (green-blind)
#948641
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f9f38;
/* rgb */ color: rgb(31, 159, 56);
/* oklch */ color: oklch(61.5% 0.178 145.6);
Tailwind
colors: {
  custom: {
    50: '#72bd73',
    500: '#1f9f38',
    950: '#000000',
  },
}
SCSS
$custom: #1f9f38;
$custom-light: #72bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9f38",
  "rgb": {
    "r": 31,
    "g": 159,
    "b": 56
  },
  "hsl": {
    "h": 131.719,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61507,
    "c": 0.17802,
    "h": 145.6
  },
  "luminance": 0.25373
}

Semantic roles & 50–950 ramp

primary
#1F9F38
secondary
#C357AE
accent
#3EC9EA
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#091208
muted
#7B817B

Preview Lab

Preview with #1F9F38

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

Preview Lab → · Contrast checker → · Palette generator →

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