#1F8124#1F8124

#1F8124 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.157 H 143.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#1F8124
RGBrgb(31, 129, 36)
HSLhsl(123, 61%, 31%)
HSVhsv(123, 76%, 51%)
CMYKcmyk(76%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.13, -46.49, 40.63)
CIE-LCHlch(47.13, 61.74, 138.84°)
OKLaboklab(52.89% -0.1259 0.0929)
OKLCHoklch(52.89% 0.157 143.6)
XYZxyz(8.7332, 16.1182, 4.3196)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8124 #811F7C
analogous
#4B811F #1F8124 #1F8155
triadic
#1F8124 #241F81 #81241F
tetradic
#1F8124 #1F4B81 #811F7C #81551F
square
#1F8124 #1F4B81 #811F7C #81551F
split-complementary
#1F8124 #551F81 #811F4B
monochromatic
#071E08 #135016 #1F8124 #2BB232 #47D34F

Accessibility & contrast

On white

4.97
#1F8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#1F8124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8124
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8124#FFFFFF#000000##FFFFFF
##1F81241.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847416
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f8124;
/* rgb */ color: rgb(31, 129, 36);
/* oklch */ color: oklch(52.9% 0.157 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ca764',
    500: '#1f8124',
    950: '#000000',
  },
}
SCSS
$custom: #1f8124;
$custom-light: #6ca764;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8124",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 123.061,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.15652,
    "h": 143.6
  },
  "luminance": 0.16119
}

Semantic roles & 50–950 ramp

primary
#1F8124
secondary
#B448AE
accent
#43DCE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #1F8124

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

Preview Lab → · Contrast checker → · Palette generator →

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