#1F8929#1F8929

#1F8929 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.163 H 144.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1F8929
RGBrgb(31, 137, 41)
HSLhsl(126, 63%, 33%)
HSVhsv(126, 77%, 54%)
CMYKcmyk(77.4%, 0%, 70.1%, 46.3%)
CIE-LABlab(49.91, -48.75, 41.47)
CIE-LCHlch(49.91, 64.00, 139.62°)
OKLaboklab(55.21% -0.1318 0.0953)
OKLCHoklch(55.21% 0.163 144.1)
XYZxyz(9.9103, 18.3416, 5.1154)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8929 #891F7F
analogous
#4A891F #1F8929 #1F895E
triadic
#1F8929 #291F89 #89291F
tetradic
#1F8929 #1F4A89 #891F7F #895E1F
square
#1F8929 #1F4A89 #891F7F #895E1F
split-complementary
#1F8929 #5E1F89 #891F4A
monochromatic
#08250B #14571A #1F8929 #2ABB38 #4CD659

Accessibility & contrast

On white

4.50
#1F8929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#1F8929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8929
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8929#FFFFFF#000000##000000
##1F89291.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1B
Deuteranopia (green-blind)
#807432
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8929;
/* rgb */ color: rgb(31, 137, 41);
/* oklch */ color: oklch(55.2% 0.163 144.1);
Tailwind
colors: {
  custom: {
    50: '#6eac68',
    500: '#1f8929',
    950: '#000000',
  },
}
SCSS
$custom: #1f8929;
$custom-light: #6eac68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8929",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 41
  },
  "hsl": {
    "h": 125.66,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.1627,
    "h": 144.1
  },
  "luminance": 0.18343
}

Semantic roles & 50–950 ramp

primary
#1F8929
secondary
#B94BAF
accent
#42D7E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8929

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

Preview Lab → · Contrast checker → · Palette generator →

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