#1F9026#1F9026

#1F9026 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.173 H 143.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F9026
RGBrgb(31, 144, 38)
HSLhsl(124, 65%, 34%)
HSVhsv(124, 78%, 56%)
CMYKcmyk(78.5%, 0%, 73.6%, 43.5%)
CIE-LABlab(52.26, -51.40, 45.16)
CIE-LCHlch(52.26, 68.42, 138.69°)
OKLaboklab(57.16% -0.1392 0.1027)
OKLCHoklch(57.16% 0.173 143.6)
XYZxyz(10.8875, 20.3765, 5.1926)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9026 #901F89
analogous
#51901F #1F9026 #1F905F
triadic
#1F9026 #261F90 #90261F
tetradic
#1F9026 #1F5190 #901F89 #905F1F
square
#1F9026 #1F5190 #901F89 #905F1F
split-complementary
#1F9026 #5F1F90 #901F51
monochromatic
#092B0B #145E19 #1F9026 #2AC233 #50D959

Accessibility & contrast

On white

4.14
#1F9026 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#1F9026 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9026
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9026#FFFFFF#000000##000000
##1F90261.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938214
Deuteranopia (green-blind)
#877931
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f9026;
/* rgb */ color: rgb(31, 144, 38);
/* oklch */ color: oklch(57.2% 0.173 143.6);
Tailwind
colors: {
  custom: {
    50: '#6fb267',
    500: '#1f9026',
    950: '#000000',
  },
}
SCSS
$custom: #1f9026;
$custom-light: #6fb267;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9026",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 38
  },
  "hsl": {
    "h": 123.717,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57158,
    "c": 0.17296,
    "h": 143.6
  },
  "luminance": 0.20378
}

Semantic roles & 50–950 ramp

primary
#1F9026
secondary
#BC4EB6
accent
#40DDE8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9026

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

Preview Lab → · Contrast checker → · Palette generator →

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