#1F9226#1F9226

#1F9226 is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.7% C 0.175 H 143.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1F9226
RGBrgb(31, 146, 38)
HSLhsl(124, 65%, 35%)
HSVhsv(124, 79%, 57%)
CMYKcmyk(78.8%, 0%, 74%, 42.7%)
CIE-LABlab(52.94, -52.06, 45.86)
CIE-LCHlch(52.94, 69.37, 138.62°)
OKLaboklab(57.72% -0.141 0.1041)
OKLCHoklch(57.72% 0.175 143.5)
XYZxyz(11.1931, 20.9877, 5.2945)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9226 #921F8B
analogous
#52921F #1F9226 #1F9260
triadic
#1F9226 #261F92 #92261F
tetradic
#1F9226 #1F5292 #921F8B #92601F
square
#1F9226 #1F5292 #921F8B #92601F
split-complementary
#1F9226 #601F92 #921F52
monochromatic
#0A2D0C #146019 #1F9226 #2AC433 #51DA5A

Accessibility & contrast

On white

4.04
#1F9226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#1F9226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9226
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9226#FFFFFF#000000##000000
##1F92261.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958413
Deuteranopia (green-blind)
#887B31
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9226;
/* rgb */ color: rgb(31, 146, 38);
/* oklch */ color: oklch(57.7% 0.175 143.5);
Tailwind
colors: {
  custom: {
    50: '#70b367',
    500: '#1f9226',
    950: '#000000',
  },
}
SCSS
$custom: #1f9226;
$custom-light: #70b367;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9226",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 123.652,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5772,
    "c": 0.17527,
    "h": 143.5
  },
  "luminance": 0.20989
}

Semantic roles & 50–950 ramp

primary
#1F9226
secondary
#BD50B7
accent
#40DEE8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9226

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

Preview Lab → · Contrast checker → · Palette generator →

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