#1F8335#1F8335

#1F8335 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.146 H 146.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1F8335
RGBrgb(31, 131, 53)
HSLhsl(133, 62%, 32%)
HSVhsv(133, 76%, 51%)
CMYKcmyk(76.3%, 0%, 59.5%, 48.6%)
CIE-LABlab(47.98, -45.19, 33.72)
CIE-LCHlch(47.98, 56.38, 143.27°)
OKLaboklab(53.65% -0.1217 0.08)
OKLCHoklch(53.65% 0.146 146.7)
XYZxyz(9.3233, 16.7799, 6.1150)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8335 #831F6D
analogous
#3B831F #1F8335 #1F8367
triadic
#1F8335 #351F83 #83351F
tetradic
#1F8335 #1F3B83 #831F6D #83671F
square
#1F8335 #1F3B83 #831F6D #83671F
split-complementary
#1F8335 #671F83 #831F3B
monochromatic
#08200D #135221 #1F8335 #2BB449 #49D467

Accessibility & contrast

On white

4.82
#1F8335 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#1F8335 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8335
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8335#FFFFFF#000000##FFFFFF
##1F83351.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772D
Deuteranopia (green-blind)
#796F3B
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8335;
/* rgb */ color: rgb(31, 131, 53);
/* oklch */ color: oklch(53.7% 0.146 146.7);
Tailwind
colors: {
  custom: {
    50: '#6ba86f',
    500: '#1f8335',
    950: '#000000',
  },
}
SCSS
$custom: #1f8335;
$custom-light: #6ba86f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8335",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 133.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53652,
    "c": 0.14565,
    "h": 146.7
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#1F8335
secondary
#B6489E
accent
#43C1E5
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1F8335

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

Preview Lab → · Contrast checker → · Palette generator →

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