#1F8024#1F8024

#1F8024 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.155 H 143.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1F8024
RGBrgb(31, 128, 36)
HSLhsl(123, 61%, 31%)
HSVhsv(123, 76%, 50%)
CMYKcmyk(75.8%, 0%, 71.9%, 49.8%)
CIE-LABlab(46.78, -46.14, 40.27)
CIE-LCHlch(46.78, 61.24, 138.89°)
OKLaboklab(52.61% -0.125 0.0922)
OKLCHoklch(52.61% 0.155 143.6)
XYZxyz(8.6021, 15.8560, 4.2759)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8024 #801F7B
analogous
#4A801F #1F8024 #1F8054
triadic
#1F8024 #241F80 #80241F
tetradic
#1F8024 #1F4A80 #801F7B #80541F
square
#1F8024 #1F4A80 #801F7B #80541F
split-complementary
#1F8024 #541F80 #801F4A
monochromatic
#071D08 #134F16 #1F8024 #2BB132 #47D24E

Accessibility & contrast

On white

5.03
#1F8024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#1F8024 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8024
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8024#FFFFFF#000000##FFFFFF
##1F80241.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837416
Deuteranopia (green-blind)
#786C2D
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f8024;
/* rgb */ color: rgb(31, 128, 36);
/* oklch */ color: oklch(52.6% 0.155 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ca664',
    500: '#1f8024',
    950: '#000000',
  },
}
SCSS
$custom: #1f8024;
$custom-light: #6ca664;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8024",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 123.093,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.15531,
    "h": 143.6
  },
  "luminance": 0.15857
}

Semantic roles & 50–950 ramp

primary
#1F8024
secondary
#B348AD
accent
#44DCE4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1F8024

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

Preview Lab → · Contrast checker → · Palette generator →

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