#1F9135#1F9135

#1F9135 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.6% C 0.163 H 145.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1F9135
RGBrgb(31, 145, 53)
HSLhsl(132, 65%, 35%)
HSVhsv(132, 79%, 57%)
CMYKcmyk(78.6%, 0%, 63.4%, 43.1%)
CIE-LABlab(52.73, -50.15, 39.21)
CIE-LCHlch(52.73, 63.65, 141.98°)
OKLaboklab(57.59% -0.1351 0.0918)
OKLCHoklch(57.59% 0.163 145.8)
XYZxyz(11.3323, 20.7978, 6.7846)
Luminance0.2080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9135 #911F7B
analogous
#42911F #1F9135 #1F916E
triadic
#1F9135 #351F91 #91351F
tetradic
#1F9135 #1F4291 #911F7B #916E1F
square
#1F9135 #1F4291 #911F7B #916E1F
split-complementary
#1F9135 #6E1F91 #911F42
monochromatic
#092C10 #145F23 #1F9135 #2AC347 #51DA6B

Accessibility & contrast

On white

4.07
#1F9135 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#1F9135 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9135
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9135#FFFFFF#000000##000000
##1F91351.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832B
Deuteranopia (green-blind)
#877A3D
Tritanopia (blue-blind)
#008D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9135;
/* rgb */ color: rgb(31, 145, 53);
/* oklch */ color: oklch(57.6% 0.163 145.8);
Tailwind
colors: {
  custom: {
    50: '#6fb270',
    500: '#1f9135',
    950: '#000000',
  },
}
SCSS
$custom: #1f9135;
$custom-light: #6fb270;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9135",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 53
  },
  "hsl": {
    "h": 131.579,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57588,
    "c": 0.16339,
    "h": 145.8
  },
  "luminance": 0.20799
}

Semantic roles & 50–950 ramp

primary
#1F9135
secondary
#BD4FA8
accent
#40C7E8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9135

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

Preview Lab → · Contrast checker → · Palette generator →

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