#1F8E29#1F8E29

#1F8E29 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.169 H 144.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#1F8E29
RGBrgb(31, 142, 41)
HSLhsl(125, 64%, 34%)
HSVhsv(125, 78%, 56%)
CMYKcmyk(78.2%, 0%, 71.1%, 44.3%)
CIE-LABlab(51.61, -50.45, 43.27)
CIE-LCHlch(51.61, 66.47, 139.38°)
OKLaboklab(56.62% -0.1365 0.0991)
OKLCHoklch(56.62% 0.169 144)
XYZxyz(10.6376, 19.7962, 5.3578)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8E29 #8E1F84
analogous
#4D8E1F #1F8E29 #1F8E61
triadic
#1F8E29 #291F8E #8E291F
tetradic
#1F8E29 #1F4D8E #8E1F84 #8E611F
square
#1F8E29 #1F4D8E #8E1F84 #8E611F
split-complementary
#1F8E29 #611F8E #8E1F4D
monochromatic
#092A0C #145C1A #1F8E29 #2AC038 #4FD95B

Accessibility & contrast

On white

4.23
#1F8E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#1F8E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8E29
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8E29#FFFFFF#000000##000000
##1F8E291.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801A
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8e29;
/* rgb */ color: rgb(31, 142, 41);
/* oklch */ color: oklch(56.6% 0.169 144.0);
Tailwind
colors: {
  custom: {
    50: '#6fb068',
    500: '#1f8e29',
    950: '#000000',
  },
}
SCSS
$custom: #1f8e29;
$custom-light: #6fb068;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8e29",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 125.405,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56622,
    "c": 0.16867,
    "h": 144
  },
  "luminance": 0.19797
}

Semantic roles & 50–950 ramp

primary
#1F8E29
secondary
#BB4DB2
accent
#41D8E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F8E29

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

Preview Lab → · Contrast checker → · Palette generator →

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