#1F9833#1F9833

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

Color values

HEX#1F9833
RGBrgb(31, 152, 51)
HSLhsl(130, 66%, 36%)
HSVhsv(130, 80%, 60%)
CMYKcmyk(79.6%, 0%, 66.4%, 40.4%)
CIE-LABlab(55.06, -52.76, 42.72)
CIE-LCHlch(55.06, 67.89, 141.00°)
OKLaboklab(59.52% -0.1423 0.0991)
OKLCHoklch(59.52% 0.173 145.1)
XYZxyz(12.3900, 22.9853, 6.9149)
Luminance0.2299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9833 #981F84
analogous
#48981F #1F9833 #1F986F
triadic
#1F9833 #331F98 #98331F
tetradic
#1F9833 #1F4898 #981F84 #986F1F
square
#1F9833 #1F4898 #981F84 #986F1F
split-complementary
#1F9833 #6F1F98 #981F48
monochromatic
#0A3211 #156522 #1F9833 #29CB44 #55DC6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9833#FFFFFF#000000##000000
##1F98331.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)
#9B8926
Deuteranopia (green-blind)
#8D803C
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9833;
/* rgb */ color: rgb(31, 152, 51);
/* oklch */ color: oklch(59.5% 0.173 145.1);
Tailwind
colors: {
  custom: {
    50: '#71b76f',
    500: '#1f9833',
    950: '#000000',
  },
}
SCSS
$custom: #1f9833;
$custom-light: #71b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9833",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 51
  },
  "hsl": {
    "h": 129.917,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59516,
    "c": 0.17342,
    "h": 145.1
  },
  "luminance": 0.22987
}

Semantic roles & 50–950 ramp

primary
#1F9833
secondary
#C053AE
accent
#3FCDE9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9833

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

Preview Lab → · Contrast checker → · Palette generator →

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