#1F9929#1F9929

#1F9929 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.7% C 0.181 H 143.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#1F9929
RGBrgb(31, 153, 41)
HSLhsl(125, 66%, 36%)
HSVhsv(125, 80%, 60%)
CMYKcmyk(79.7%, 0%, 73.2%, 40%)
CIE-LABlab(55.31, -54.09, 47.14)
CIE-LCHlch(55.31, 71.75, 138.93°)
OKLaboklab(59.7% -0.1464 0.1072)
OKLCHoklch(59.7% 0.181 143.8)
XYZxyz(12.3557, 23.2324, 5.9305)
Luminance0.2323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9929 #991F8F
analogous
#52991F #1F9929 #1F9966
triadic
#1F9929 #291F99 #99291F
tetradic
#1F9929 #1F5299 #991F8F #99661F
square
#1F9929 #1F5299 #991F8F #99661F
split-complementary
#1F9929 #661F99 #991F52
monochromatic
#0A330E #15661B #1F9929 #29CC37 #56DD61

Accessibility & contrast

On white

3.72
#1F9929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#1F9929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9929
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9929#FFFFFF#000000##000000
##1F99291.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A16
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9929;
/* rgb */ color: rgb(31, 153, 41);
/* oklch */ color: oklch(59.7% 0.181 143.8);
Tailwind
colors: {
  custom: {
    50: '#72b86a',
    500: '#1f9929',
    950: '#000000',
  },
}
SCSS
$custom: #1f9929;
$custom-light: #72b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9929",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 41
  },
  "hsl": {
    "h": 124.918,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.18143,
    "h": 143.8
  },
  "luminance": 0.23234
}

Semantic roles & 50–950 ramp

primary
#1F9929
secondary
#C054B7
accent
#3FDBE9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9929

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

Preview Lab → · Contrast checker → · Palette generator →

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