#1F6629#1F6629

#1F6629 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.1% C 0.117 H 145.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#1F6629
RGBrgb(31, 102, 41)
HSLhsl(128, 53%, 26%)
HSVhsv(128, 70%, 40%)
CMYKcmyk(69.6%, 0%, 59.8%, 60%)
CIE-LABlab(37.76, -35.82, 27.81)
CIE-LCHlch(37.76, 45.35, 142.18°)
OKLaboklab(45.15% -0.0968 0.0661)
OKLCHoklch(45.15% 0.117 145.7)
XYZxyz(5.7163, 9.9536, 3.7174)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6629 #661F5C
analogous
#38661F #1F6629 #1F664C
triadic
#1F6629 #291F66 #66291F
tetradic
#1F6629 #1F3866 #661F5C #664C1F
square
#1F6629 #1F3866 #661F5C #664C1F
split-complementary
#1F6629 #4C1F66 #661F38
monochromatic
#071709 #113716 #1F6629 #2D953C #3CC44F

Accessibility & contrast

On white

7.02
#1F6629 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#1F6629 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6629
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6629#FFFFFF#000000##FFFFFF
##1F66291.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D23
Deuteranopia (green-blind)
#5F572E
Tritanopia (blue-blind)
#0A6358
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f6629;
/* rgb */ color: rgb(31, 102, 41);
/* oklch */ color: oklch(45.1% 0.117 145.7);
Tailwind
colors: {
  custom: {
    50: '#659265',
    500: '#1f6629',
    950: '#000000',
  },
}
SCSS
$custom: #1f6629;
$custom-light: #659265;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6629",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 41
  },
  "hsl": {
    "h": 128.451,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45146,
    "c": 0.11725,
    "h": 145.7
  },
  "luminance": 0.09954
}

Semantic roles & 50–950 ramp

primary
#1F6629
secondary
#9A468F
accent
#4BC8DD
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #1F6629

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

Preview Lab → · Contrast checker → · Palette generator →

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