#1F9529#1F9529

#1F9529 is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.6% C 0.177 H 143.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1F9529
RGBrgb(31, 149, 41)
HSLhsl(125, 66%, 35%)
HSVhsv(125, 79%, 58%)
CMYKcmyk(79.2%, 0%, 72.5%, 41.6%)
CIE-LABlab(53.97, -52.78, 45.75)
CIE-LCHlch(53.97, 69.85, 139.08°)
OKLaboklab(58.59% -0.1428 0.1043)
OKLCHoklch(58.59% 0.177 143.9)
XYZxyz(11.7120, 21.9449, 5.7159)
Luminance0.2195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9529 #951F8B
analogous
#50951F #1F9529 #1F9564
triadic
#1F9529 #291F95 #95291F
tetradic
#1F9529 #1F5095 #951F8B #95641F
square
#1F9529 #1F5095 #951F8B #95641F
split-complementary
#1F9529 #641F95 #951F50
monochromatic
#0A300D #14621B #1F9529 #2AC837 #53DB5F

Accessibility & contrast

On white

3.90
#1F9529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#1F9529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9529
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9529#FFFFFF#000000##000000
##1F95291.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988617
Deuteranopia (green-blind)
#8B7E34
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f9529;
/* rgb */ color: rgb(31, 149, 41);
/* oklch */ color: oklch(58.6% 0.177 143.9);
Tailwind
colors: {
  custom: {
    50: '#71b569',
    500: '#1f9529',
    950: '#000000',
  },
}
SCSS
$custom: #1f9529;
$custom-light: #71b569;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9529",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 125.085,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58585,
    "c": 0.17683,
    "h": 143.9
  },
  "luminance": 0.21946
}

Semantic roles & 50–950 ramp

primary
#1F9529
secondary
#BF51B5
accent
#3FDAE9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9529

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

Preview Lab → · Contrast checker → · Palette generator →

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