#1F902C#1F902C

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

Color values

HEX#1F902C
RGBrgb(31, 144, 44)
HSLhsl(127, 65%, 34%)
HSVhsv(127, 78%, 56%)
CMYKcmyk(78.5%, 0%, 69.4%, 43.5%)
CIE-LABlab(52.31, -50.82, 42.76)
CIE-LCHlch(52.31, 66.42, 139.92°)
OKLaboklab(57.21% -0.1373 0.0984)
OKLCHoklch(57.21% 0.169 144.4)
XYZxyz(10.9922, 20.4184, 5.7442)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F902C #901F83
analogous
#4B901F #1F902C #1F9065
triadic
#1F902C #2C1F90 #902C1F
tetradic
#1F902C #1F4B90 #901F83 #90651F
square
#1F902C #1F4B90 #901F83 #90651F
split-complementary
#1F902C #651F90 #901F4B
monochromatic
#092B0D #145E1D #1F902C #2AC23B #50D960

Accessibility & contrast

On white

4.13
#1F902C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F902C#FFFFFF#000000##000000
##1F902C1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821E
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f902c;
/* rgb */ color: rgb(31, 144, 44);
/* oklch */ color: oklch(57.2% 0.169 144.4);
Tailwind
colors: {
  custom: {
    50: '#6fb26a',
    500: '#1f902c',
    950: '#000000',
  },
}
SCSS
$custom: #1f902c;
$custom-light: #6fb26a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f902c",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 126.903,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57212,
    "c": 0.16895,
    "h": 144.4
  },
  "luminance": 0.2042
}

Semantic roles & 50–950 ramp

primary
#1F902C
secondary
#BC4EB0
accent
#40D4E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F902C

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

Preview Lab → · Contrast checker → · Palette generator →

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