#1F8230#1F8230

#1F8230 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.149 H 145.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1F8230
RGBrgb(31, 130, 48)
HSLhsl(130, 61%, 32%)
HSVhsv(130, 76%, 51%)
CMYKcmyk(76.2%, 0%, 63.1%, 49%)
CIE-LABlab(47.58, -45.49, 35.71)
CIE-LCHlch(47.58, 57.84, 141.87°)
OKLaboklab(53.31% -0.1227 0.0839)
OKLCHoklch(53.31% 0.149 145.6)
XYZxyz(9.0806, 16.4689, 5.4960)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8230 #821F71
analogous
#40821F #1F8230 #1F8262
triadic
#1F8230 #301F82 #82301F
tetradic
#1F8230 #1F4082 #821F71 #82621F
square
#1F8230 #1F4082 #821F71 #82621F
split-complementary
#1F8230 #621F82 #821F40
monochromatic
#071F0C #13511E #1F8230 #2BB342 #48D360

Accessibility & contrast

On white

4.89
#1F8230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#1F8230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8230
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8230#FFFFFF#000000##FFFFFF
##1F82301.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847627
Deuteranopia (green-blind)
#796E37
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8230;
/* rgb */ color: rgb(31, 130, 48);
/* oklch */ color: oklch(53.3% 0.149 145.6);
Tailwind
colors: {
  custom: {
    50: '#6ba76b',
    500: '#1f8230',
    950: '#000000',
  },
}
SCSS
$custom: #1f8230;
$custom-light: #6ba76b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8230",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 48
  },
  "hsl": {
    "h": 130.303,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53305,
    "c": 0.14863,
    "h": 145.6
  },
  "luminance": 0.1647
}

Semantic roles & 50–950 ramp

primary
#1F8230
secondary
#B548A2
accent
#43C9E5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1F8230

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

Preview Lab → · Contrast checker → · Palette generator →

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