#1F9835#1F9835

#1F9835 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.5% C 0.172 H 145.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#1F9835
RGBrgb(31, 152, 53)
HSLhsl(131, 66%, 36%)
HSVhsv(131, 80%, 60%)
CMYKcmyk(79.6%, 0%, 65.1%, 40.4%)
CIE-LABlab(55.08, -52.53, 41.85)
CIE-LCHlch(55.08, 67.16, 141.46°)
OKLaboklab(59.54% -0.1416 0.0975)
OKLCHoklch(59.54% 0.172 145.5)
XYZxyz(12.4350, 23.0033, 7.1522)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9835 #981F82
analogous
#45981F #1F9835 #1F9871
triadic
#1F9835 #351F98 #98351F
tetradic
#1F9835 #1F4598 #981F82 #98711F
square
#1F9835 #1F4598 #981F82 #98711F
split-complementary
#1F9835 #711F98 #981F45
monochromatic
#0A3212 #156523 #1F9835 #29CB47 #55DC6E

Accessibility & contrast

On white

3.75
#1F9835 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#1F9835 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9835
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9835#FFFFFF#000000##000000
##1F98351.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8929
Deuteranopia (green-blind)
#8D803E
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9835;
/* rgb */ color: rgb(31, 152, 53);
/* oklch */ color: oklch(59.5% 0.172 145.5);
Tailwind
colors: {
  custom: {
    50: '#71b770',
    500: '#1f9835',
    950: '#000000',
  },
}
SCSS
$custom: #1f9835;
$custom-light: #71b770;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9835",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 53
  },
  "hsl": {
    "h": 130.909,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59538,
    "c": 0.17192,
    "h": 145.5
  },
  "luminance": 0.23005
}

Semantic roles & 50–950 ramp

primary
#1F9835
secondary
#C053AC
accent
#3FCAE9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9835

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

Preview Lab → · Contrast checker → · Palette generator →

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