#296917#296917

#296917 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.131 H 139.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#296917
RGBrgb(41, 105, 23)
HSLhsl(107, 64%, 25%)
HSVhsv(107, 78%, 41%)
CMYKcmyk(61%, 0%, 78.1%, 58.8%)
CIE-LABlab(38.96, -36.49, 37.61)
CIE-LCHlch(38.96, 52.40, 134.14°)
OKLaboklab(46.17% -0.1002 0.0847)
OKLCHoklch(46.17% 0.131 139.8)
XYZxyz(6.1204, 10.6359, 2.5408)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296917 #571769
analogous
#526917 #296917 #17692E
triadic
#296917 #172969 #691729
tetradic
#296917 #175269 #571769 #692E17
square
#296917 #175269 #571769 #692E17
split-complementary
#296917 #2E1769 #691752
monochromatic
#0A1905 #15370C #296917 #3D9B22 #50CD2D

Accessibility & contrast

On white

6.72
#296917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#296917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296917
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296917#FFFFFF#000000##FFFFFF
##2969171.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#216559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #296917;
/* rgb */ color: rgb(41, 105, 23);
/* oklch */ color: oklch(46.2% 0.131 139.8);
Tailwind
colors: {
  custom: {
    50: '#6b945a',
    500: '#296917',
    950: '#000000',
  },
}
SCSS
$custom: #296917;
$custom-light: #6b945a;
$custom-dark: #000000;
JSON
{
  "hex": "#296917",
  "rgb": {
    "r": 41,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 106.829,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.13124,
    "h": 139.8
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#296917
secondary
#8A3D9F
accent
#41E7C3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #296917

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

Preview Lab → · Contrast checker → · Palette generator →

#296917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva