#1F9230#1F9230

#1F9230 is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.8% C 0.168 H 144.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1F9230
RGBrgb(31, 146, 48)
HSLhsl(129, 65%, 35%)
HSVhsv(129, 79%, 57%)
CMYKcmyk(78.8%, 0%, 67.1%, 42.7%)
CIE-LABlab(53.02, -51.07, 41.80)
CIE-LCHlch(53.02, 65.99, 140.70°)
OKLaboklab(57.81% -0.1378 0.0968)
OKLCHoklch(57.81% 0.168 144.9)
XYZxyz(11.3767, 21.0611, 6.2614)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9230 #921F81
analogous
#47921F #1F9230 #1F926A
triadic
#1F9230 #301F92 #92301F
tetradic
#1F9230 #1F4792 #921F81 #926A1F
square
#1F9230 #1F4792 #921F81 #926A1F
split-complementary
#1F9230 #6A1F92 #921F47
monochromatic
#0A2D0F #14601F #1F9230 #2AC441 #51DA66

Accessibility & contrast

On white

4.03
#1F9230 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#1F9230 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9230
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9230#FFFFFF#000000##000000
##1F92301.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958423
Deuteranopia (green-blind)
#887B39
Tritanopia (blue-blind)
#008E7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f9230;
/* rgb */ color: rgb(31, 146, 48);
/* oklch */ color: oklch(57.8% 0.168 144.9);
Tailwind
colors: {
  custom: {
    50: '#6fb36d',
    500: '#1f9230',
    950: '#000000',
  },
}
SCSS
$custom: #1f9230;
$custom-light: #6fb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9230",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 48
  },
  "hsl": {
    "h": 128.87,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57812,
    "c": 0.16846,
    "h": 144.9
  },
  "luminance": 0.21062
}

Semantic roles & 50–950 ramp

primary
#1F9230
secondary
#BD50AD
accent
#40CFE8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9230

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

Preview Lab → · Contrast checker → · Palette generator →

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