#1F9034#1F9034

#1F9034 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.3% C 0.163 H 145.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1F9034
RGBrgb(31, 144, 52)
HSLhsl(131, 65%, 34%)
HSVhsv(131, 78%, 56%)
CMYKcmyk(78.5%, 0%, 63.9%, 43.5%)
CIE-LABlab(52.38, -49.92, 39.28)
CIE-LCHlch(52.38, 63.52, 141.81°)
OKLaboklab(57.3% -0.1346 0.0919)
OKLCHoklch(57.3% 0.163 145.7)
XYZxyz(11.1574, 20.4844, 6.6140)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9034 #901F7B
analogous
#43901F #1F9034 #1F906C
triadic
#1F9034 #341F90 #90341F
tetradic
#1F9034 #1F4390 #901F7B #906C1F
square
#1F9034 #1F4390 #901F7B #906C1F
split-complementary
#1F9034 #6C1F90 #901F43
monochromatic
#092B10 #145E22 #1F9034 #2AC246 #50D96A

Accessibility & contrast

On white

4.12
#1F9034 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#1F9034 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9034
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9034#FFFFFF#000000##000000
##1F90341.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928229
Deuteranopia (green-blind)
#867A3C
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f9034;
/* rgb */ color: rgb(31, 144, 52);
/* oklch */ color: oklch(57.3% 0.163 145.7);
Tailwind
colors: {
  custom: {
    50: '#6fb26f',
    500: '#1f9034',
    950: '#000000',
  },
}
SCSS
$custom: #1f9034;
$custom-light: #6fb26f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9034",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 52
  },
  "hsl": {
    "h": 131.15,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57297,
    "c": 0.16295,
    "h": 145.7
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#1F9034
secondary
#BC4EA8
accent
#40C8E8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #1F9034

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

Preview Lab → · Contrast checker → · Palette generator →

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