#1F8927#1F8927

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

Color values

HEX#1F8927
RGBrgb(31, 137, 39)
HSLhsl(125, 63%, 33%)
HSVhsv(125, 77%, 54%)
CMYKcmyk(77.4%, 0%, 71.5%, 46.3%)
CIE-LABlab(49.89, -48.95, 42.29)
CIE-LCHlch(49.89, 64.69, 139.17°)
OKLaboklab(55.19% -0.1325 0.0968)
OKLCHoklch(55.19% 0.164 143.8)
XYZxyz(9.8763, 18.3280, 4.9362)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8927 #891F81
analogous
#4C891F #1F8927 #1F895C
triadic
#1F8927 #271F89 #89271F
tetradic
#1F8927 #1F4C89 #891F81 #895C1F
square
#1F8927 #1F4C89 #891F81 #895C1F
split-complementary
#1F8927 #5C1F89 #891F4C
monochromatic
#08250B #145719 #1F8927 #2ABB35 #4CD656

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8927#FFFFFF#000000##000000
##1F89271.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)
#8C7C18
Deuteranopia (green-blind)
#807331
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8927;
/* rgb */ color: rgb(31, 137, 39);
/* oklch */ color: oklch(55.2% 0.164 143.8);
Tailwind
colors: {
  custom: {
    50: '#6eac67',
    500: '#1f8927',
    950: '#000000',
  },
}
SCSS
$custom: #1f8927;
$custom-light: #6eac67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8927",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 39
  },
  "hsl": {
    "h": 124.528,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55193,
    "c": 0.16409,
    "h": 143.8
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#1F8927
secondary
#B94BB1
accent
#42DAE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8927

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

Preview Lab → · Contrast checker → · Palette generator →

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