#1F7330#1F7330

#1F7330 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.129 H 146.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1F7330
RGBrgb(31, 115, 48)
HSLhsl(132, 58%, 29%)
HSVhsv(132, 73%, 45%)
CMYKcmyk(73%, 0%, 58.3%, 54.9%)
CIE-LABlab(42.41, -39.91, 29.67)
CIE-LCHlch(42.41, 49.73, 143.38°)
OKLaboklab(49.02% -0.1076 0.0708)
OKLCHoklch(49.02% 0.129 146.7)
XYZxyz(7.2288, 12.7654, 4.8787)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7330 #731F62
analogous
#38731F #1F7330 #1F735A
triadic
#1F7330 #301F73 #73301F
tetradic
#1F7330 #1F3873 #731F62 #735A1F
square
#1F7330 #1F3873 #731F62 #735A1F
split-complementary
#1F7330 #5A1F73 #731F38
monochromatic
#06180A #12431C #1F7330 #2CA344 #41CC5D

Accessibility & contrast

On white

5.91
#1F7330 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#1F7330 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7330
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7330#FFFFFF#000000##FFFFFF
##1F73301.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75682A
Deuteranopia (green-blind)
#6B6135
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7330;
/* rgb */ color: rgb(31, 115, 48);
/* oklch */ color: oklch(49.0% 0.129 146.7);
Tailwind
colors: {
  custom: {
    50: '#689c6a',
    500: '#1f7330',
    950: '#000000',
  },
}
SCSS
$custom: #1f7330;
$custom-light: #689c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7330",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 48
  },
  "hsl": {
    "h": 132.143,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49018,
    "c": 0.12881,
    "h": 146.7
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#1F7330
secondary
#A74793
accent
#47C2E1
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F7330

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

Preview Lab → · Contrast checker → · Palette generator →

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