#1F854E#1F854E

#1F854E is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.125 H 154.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1F854E
RGBrgb(31, 133, 78)
HSLhsl(148, 62%, 32%)
HSVhsv(148, 77%, 52%)
CMYKcmyk(76.7%, 0%, 41.4%, 47.8%)
CIE-LABlab(49.03, -41.70, 21.69)
CIE-LCHlch(49.03, 47.00, 152.52°)
OKLaboklab(54.64% -0.1124 0.054)
OKLCHoklch(54.64% 0.125 154.3)
XYZxyz(10.3268, 17.6152, 10.0621)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F854E #851F56
analogous
#23851F #1F854E #1F8581
triadic
#1F854E #4E1F85 #854E1F
tetradic
#1F854E #1F2385 #851F56 #85811F
square
#1F854E #1F2385 #851F56 #85811F
split-complementary
#1F854E #811F85 #851F23
monochromatic
#082214 #135331 #1F854E #2BB76B #4AD58A

Accessibility & contrast

On white

4.64
#1F854E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#1F854E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F854E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F854E#FFFFFF#000000##FFFFFF
##1F854E1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857A4A
Deuteranopia (green-blind)
#797152
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f854e;
/* rgb */ color: rgb(31, 133, 78);
/* oklch */ color: oklch(54.6% 0.125 154.3);
Tailwind
colors: {
  custom: {
    50: '#6ba980',
    500: '#1f854e',
    950: '#000000',
  },
}
SCSS
$custom: #1f854e;
$custom-light: #6ba980;
$custom-dark: #000000;
JSON
{
  "hex": "#1f854e",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 78
  },
  "hsl": {
    "h": 147.647,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54635,
    "c": 0.12469,
    "h": 154.3
  },
  "luminance": 0.17616
}

Semantic roles & 50–950 ramp

primary
#1F854E
secondary
#B74984
accent
#439AE5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F854E

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

Preview Lab → · Contrast checker → · Palette generator →

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