#1F8451#1F8451

#1F8451 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.120 H 155.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1F8451
RGBrgb(31, 132, 81)
HSLhsl(150, 62%, 32%)
HSVhsv(150, 77%, 52%)
CMYKcmyk(76.5%, 0%, 38.6%, 48.2%)
CIE-LABlab(48.74, -40.68, 19.63)
CIE-LCHlch(48.74, 45.17, 154.24°)
OKLaboklab(54.42% -0.1099 0.0492)
OKLCHoklch(54.42% 0.12 155.9)
XYZxyz(10.3006, 17.3867, 10.5961)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8451 #841F52
analogous
#20841F #1F8451 #1F8484
triadic
#1F8451 #511F84 #84511F
tetradic
#1F8451 #1F2084 #841F52 #84841F
square
#1F8451 #1F2084 #841F52 #84841F
split-complementary
#1F8451 #841F84 #841F20
monochromatic
#082114 #135233 #1F8451 #2BB66F #49D48E

Accessibility & contrast

On white

4.69
#1F8451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#1F8451 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8451
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8451#FFFFFF#000000##FFFFFF
##1F84511.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83794E
Deuteranopia (green-blind)
#777054
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8451;
/* rgb */ color: rgb(31, 132, 81);
/* oklch */ color: oklch(54.4% 0.120 155.9);
Tailwind
colors: {
  custom: {
    50: '#6ba982',
    500: '#1f8451',
    950: '#000000',
  },
}
SCSS
$custom: #1f8451;
$custom-light: #6ba982;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8451",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 149.703,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5442,
    "c": 0.12038,
    "h": 155.9
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#1F8451
secondary
#B74880
accent
#4395E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F8451

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

Preview Lab → · Contrast checker → · Palette generator →

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