#1F8534#1F8534

#1F8534 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.149 H 146.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1F8534
RGBrgb(31, 133, 52)
HSLhsl(132, 62%, 32%)
HSVhsv(132, 77%, 52%)
CMYKcmyk(76.7%, 0%, 60.9%, 47.8%)
CIE-LABlab(48.65, -46.05, 35.00)
CIE-LCHlch(48.65, 57.84, 142.76°)
OKLaboklab(54.21% -0.1241 0.0827)
OKLCHoklch(54.21% 0.149 146.3)
XYZxyz(9.5717, 17.3132, 6.0855)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8534 #851F70
analogous
#3D851F #1F8534 #1F8567
triadic
#1F8534 #341F85 #85341F
tetradic
#1F8534 #1F3D85 #851F70 #85671F
square
#1F8534 #1F3D85 #851F70 #85671F
split-complementary
#1F8534 #671F85 #851F3D
monochromatic
#08220D #135321 #1F8534 #2BB747 #4AD566

Accessibility & contrast

On white

4.71
#1F8534 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#1F8534 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8534
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8534#FFFFFF#000000##FFFFFF
##1F85341.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87782C
Deuteranopia (green-blind)
#7B703B
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8534;
/* rgb */ color: rgb(31, 133, 52);
/* oklch */ color: oklch(54.2% 0.149 146.3);
Tailwind
colors: {
  custom: {
    50: '#6ca96e',
    500: '#1f8534',
    950: '#000000',
  },
}
SCSS
$custom: #1f8534;
$custom-light: #6ca96e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8534",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 52
  },
  "hsl": {
    "h": 132.353,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54205,
    "c": 0.14911,
    "h": 146.3
  },
  "luminance": 0.17314
}

Semantic roles & 50–950 ramp

primary
#1F8534
secondary
#B749A0
accent
#43C4E5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8534

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

Preview Lab → · Contrast checker → · Palette generator →

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