#299A1F#299A1F

#299A1F is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.1% C 0.185 H 142.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#299A1F
RGBrgb(41, 154, 31)
HSLhsl(115, 66%, 36%)
HSVhsv(115, 80%, 60%)
CMYKcmyk(73.4%, 0%, 79.9%, 39.6%)
CIE-LABlab(55.77, -53.61, 51.19)
CIE-LCHlch(55.77, 74.12, 136.32°)
OKLaboklab(60.11% -0.146 0.1142)
OKLCHoklch(60.11% 0.185 142)
XYZxyz(12.7166, 23.6801, 5.1966)
Luminance0.2368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#299A1F #901F9A
analogous
#679A1F #299A1F #1F9A53
triadic
#299A1F #1F299A #9A1F29
tetradic
#299A1F #1F679A #901F9A #9A531F
square
#299A1F #1F679A #901F9A #9A531F
split-complementary
#299A1F #531F9A #9A1F67
monochromatic
#0E340A #1B6715 #299A1F #37CD29 #61DD56

Accessibility & contrast

On white

3.66
#299A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#299A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #299A1F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##299A1F#FFFFFF#000000##000000
##299A1F1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#029583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #299a1f;
/* rgb */ color: rgb(41, 154, 31);
/* oklch */ color: oklch(60.1% 0.185 142.0);
Tailwind
colors: {
  custom: {
    50: '#76b965',
    500: '#299a1f',
    950: '#000000',
  },
}
SCSS
$custom: #299a1f;
$custom-light: #76b965;
$custom-dark: #000000;
JSON
{
  "hex": "#299a1f",
  "rgb": {
    "r": 41,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 115.122,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60112,
    "c": 0.18538,
    "h": 142
  },
  "luminance": 0.23682
}

Semantic roles & 50–950 ramp

primary
#299A1F
secondary
#B854C1
accent
#3EE9DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #299A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#299A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva