#1F8A29#1F8A29

#1F8A29 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.164 H 144.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#1F8A29
RGBrgb(31, 138, 41)
HSLhsl(126, 63%, 33%)
HSVhsv(126, 78%, 54%)
CMYKcmyk(77.5%, 0%, 70.3%, 45.9%)
CIE-LABlab(50.25, -49.09, 41.83)
CIE-LCHlch(50.25, 64.50, 139.57°)
OKLaboklab(55.49% -0.1328 0.0961)
OKLCHoklch(55.49% 0.164 144.1)
XYZxyz(10.0531, 18.6272, 5.1630)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A29 #8A1F80
analogous
#4B8A1F #1F8A29 #1F8A5E
triadic
#1F8A29 #291F8A #8A291F
tetradic
#1F8A29 #1F4B8A #8A1F80 #8A5E1F
square
#1F8A29 #1F4B8A #8A1F80 #8A5E1F
split-complementary
#1F8A29 #5E1F8A #8A1F4B
monochromatic
#09260B #14581A #1F8A29 #2ABC38 #4CD759

Accessibility & contrast

On white

4.44
#1F8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#1F8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A29
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A29#FFFFFF#000000##000000
##1F8A291.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1B
Deuteranopia (green-blind)
#817432
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a29;
/* rgb */ color: rgb(31, 138, 41);
/* oklch */ color: oklch(55.5% 0.164 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ead68',
    500: '#1f8a29',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a29;
$custom-light: #6ead68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a29",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 125.607,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55494,
    "c": 0.1639,
    "h": 144.1
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#1F8A29
secondary
#BA4BAF
accent
#41D7E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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