#299F42#299F42

#299F42 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.167 H 146.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#299F42
RGBrgb(41, 159, 66)
HSLhsl(133, 59%, 39%)
HSVhsv(133, 74%, 62%)
CMYKcmyk(74.2%, 0%, 58.5%, 37.6%)
CIE-LABlab(57.71, -51.83, 38.85)
CIE-LCHlch(57.71, 64.77, 143.15°)
OKLaboklab(61.82% -0.1396 0.0922)
OKLCHoklch(61.82% 0.167 146.6)
XYZxyz(14.2949, 25.6594, 9.3526)
Luminance0.2566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#299F42 #9F2986
analogous
#4B9F29 #299F42 #299F7D
triadic
#299F42 #42299F #9F4229
tetradic
#299F42 #294B9F #9F2986 #9F7D29
square
#299F42 #294B9F #9F2986 #9F7D29
split-complementary
#299F42 #7D299F #9F294B
monochromatic
#103E1A #1C6E2E #299F42 #39CC58 #6AD981

Accessibility & contrast

On white

3.42
#299F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#299F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #299F42
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##299F42#FFFFFF#000000##000000
##299F421.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19039
Deuteranopia (green-blind)
#948749
Tritanopia (blue-blind)
#009B8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #299f42;
/* rgb */ color: rgb(41, 159, 66);
/* oklch */ color: oklch(61.8% 0.167 146.6);
Tailwind
colors: {
  custom: {
    50: '#75bc79',
    500: '#299f42',
    950: '#000000',
  },
}
SCSS
$custom: #299f42;
$custom-light: #75bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#299f42",
  "rgb": {
    "r": 41,
    "g": 159,
    "b": 66
  },
  "hsl": {
    "h": 132.712,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6182,
    "c": 0.16731,
    "h": 146.6
  },
  "luminance": 0.25661
}

Semantic roles & 50–950 ramp

primary
#299F42
secondary
#BF65AC
accent
#46C1E2
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #299F42

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

Preview Lab → · Contrast checker → · Palette generator →

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