#1F8D29#1F8D29

#1F8D29 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.167 H 144.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1F8D29
RGBrgb(31, 141, 41)
HSLhsl(125, 64%, 34%)
HSVhsv(125, 78%, 55%)
CMYKcmyk(78%, 0%, 70.9%, 44.7%)
CIE-LABlab(51.27, -50.11, 42.91)
CIE-LCHlch(51.27, 65.98, 139.42°)
OKLaboklab(56.34% -0.1355 0.0984)
OKLCHoklch(56.34% 0.167 144)
XYZxyz(10.4895, 19.4999, 5.3084)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D29 #8D1F83
analogous
#4C8D1F #1F8D29 #1F8D60
triadic
#1F8D29 #291F8D #8D291F
tetradic
#1F8D29 #1F4C8D #8D1F83 #8D601F
square
#1F8D29 #1F4C8D #8D1F83 #8D601F
split-complementary
#1F8D29 #601F8D #8D1F4C
monochromatic
#09290C #145B1A #1F8D29 #2ABF38 #4ED85B

Accessibility & contrast

On white

4.29
#1F8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#1F8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D29
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D29#FFFFFF#000000##000000
##1F8D291.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1A
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8d29;
/* rgb */ color: rgb(31, 141, 41);
/* oklch */ color: oklch(56.3% 0.167 144.0);
Tailwind
colors: {
  custom: {
    50: '#6faf68',
    500: '#1f8d29',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d29;
$custom-light: #6faf68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d29",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 125.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.16748,
    "h": 144
  },
  "luminance": 0.19501
}

Semantic roles & 50–950 ramp

primary
#1F8D29
secondary
#BB4DB1
accent
#41D8E7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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