#296717#296717

#296717 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.129 H 139.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#296717
RGBrgb(41, 103, 23)
HSLhsl(107, 63%, 25%)
HSVhsv(107, 78%, 40%)
CMYKcmyk(60.2%, 0%, 77.7%, 59.6%)
CIE-LABlab(38.26, -35.68, 36.90)
CIE-LCHlch(38.26, 51.33, 134.04°)
OKLaboklab(45.59% -0.0981 0.0833)
OKLCHoklch(45.59% 0.129 139.7)
XYZxyz(5.9191, 10.2333, 2.4737)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296717 #551767
analogous
#516717 #296717 #17672D
triadic
#296717 #172967 #671729
tetradic
#296717 #175167 #551767 #672D17
square
#296717 #175167 #551767 #672D17
split-complementary
#296717 #2D1767 #671751
monochromatic
#0A1906 #15350C #296717 #3D9922 #51CB2D

Accessibility & contrast

On white

6.89
#296717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#296717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296717
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296717#FFFFFF#000000##FFFFFF
##2967171.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#226358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #296717;
/* rgb */ color: rgb(41, 103, 23);
/* oklch */ color: oklch(45.6% 0.129 139.7);
Tailwind
colors: {
  custom: {
    50: '#6b935a',
    500: '#296717',
    950: '#000000',
  },
}
SCSS
$custom: #296717;
$custom-light: #6b935a;
$custom-dark: #000000;
JSON
{
  "hex": "#296717",
  "rgb": {
    "r": 41,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 106.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45592,
    "c": 0.12863,
    "h": 139.7
  },
  "luminance": 0.10234
}

Semantic roles & 50–950 ramp

primary
#296717
secondary
#883D9D
accent
#41E7C1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #296717

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

Preview Lab → · Contrast checker → · Palette generator →

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