#1F8250#1F8250

#1F8250 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.8% C 0.119 H 156.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1F8250
RGBrgb(31, 130, 80)
HSLhsl(150, 61%, 32%)
HSVhsv(150, 76%, 51%)
CMYKcmyk(76.2%, 0%, 38.5%, 49%)
CIE-LABlab(48.05, -40.08, 19.27)
CIE-LCHlch(48.05, 44.47, 154.32°)
OKLaboklab(53.84% -0.1083 0.0483)
OKLCHoklch(53.84% 0.119 156)
XYZxyz(9.9947, 16.8346, 10.3105)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8250 #821F51
analogous
#20821F #1F8250 #1F8282
triadic
#1F8250 #501F82 #82501F
tetradic
#1F8250 #1F2082 #821F51 #82821F
square
#1F8250 #1F2082 #821F51 #82821F
split-complementary
#1F8250 #821F82 #821F20
monochromatic
#071F13 #135132 #1F8250 #2BB36E #48D38D

Accessibility & contrast

On white

4.81
#1F8250 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#1F8250 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8250
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8250#FFFFFF#000000##FFFFFF
##1F82501.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774D
Deuteranopia (green-blind)
#756F53
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8250;
/* rgb */ color: rgb(31, 130, 80);
/* oklch */ color: oklch(53.8% 0.119 156.0);
Tailwind
colors: {
  custom: {
    50: '#6aa781',
    500: '#1f8250',
    950: '#000000',
  },
}
SCSS
$custom: #1f8250;
$custom-light: #6aa781;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8250",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 80
  },
  "hsl": {
    "h": 149.697,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53843,
    "c": 0.11856,
    "h": 156
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

primary
#1F8250
secondary
#B5487F
accent
#4395E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F8250

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

Preview Lab → · Contrast checker → · Palette generator →

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