#1F8B25#1F8B25

#1F8B25 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.168 H 143.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1F8B25
RGBrgb(31, 139, 37)
HSLhsl(123, 64%, 33%)
HSVhsv(123, 78%, 55%)
CMYKcmyk(77.7%, 0%, 73.4%, 45.5%)
CIE-LABlab(50.56, -49.81, 43.80)
CIE-LCHlch(50.56, 66.33, 138.68°)
OKLaboklab(55.74% -0.1349 0.0997)
OKLCHoklch(55.74% 0.168 143.5)
XYZxyz(10.1310, 18.8889, 4.8619)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B25 #8B1F85
analogous
#4F8B1F #1F8B25 #1F8B5B
triadic
#1F8B25 #251F8B #8B251F
tetradic
#1F8B25 #1F4F8B #8B1F85 #8B5B1F
square
#1F8B25 #1F4F8B #8B1F85 #8B5B1F
split-complementary
#1F8B25 #5B1F8B #8B1F4F
monochromatic
#09270A #145918 #1F8B25 #2ABD32 #4DD755

Accessibility & contrast

On white

4.40
#1F8B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#1F8B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B25
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B25#FFFFFF#000000##000000
##1F8B251.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D14
Deuteranopia (green-blind)
#82752F
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8b25;
/* rgb */ color: rgb(31, 139, 37);
/* oklch */ color: oklch(55.7% 0.168 143.5);
Tailwind
colors: {
  custom: {
    50: '#6eae66',
    500: '#1f8b25',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b25;
$custom-light: #6eae66;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b25",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 123.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55741,
    "c": 0.16777,
    "h": 143.5
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

primary
#1F8B25
secondary
#BA4CB4
accent
#41DDE7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8B25

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

Preview Lab → · Contrast checker → · Palette generator →

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