#296517#296517

#296517 is a mid, vivid green. Relative luminance 0.098; OKLCH L 45.0% C 0.126 H 139.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#296517
RGBrgb(41, 101, 23)
HSLhsl(106, 63%, 24%)
HSVhsv(106, 77%, 40%)
CMYKcmyk(59.4%, 0%, 77.2%, 60.4%)
CIE-LABlab(37.55, -34.87, 36.19)
CIE-LCHlch(37.55, 50.26, 133.93°)
OKLaboklab(45.01% -0.0959 0.0818)
OKLCHoklch(45.01% 0.126 139.5)
XYZxyz(5.7225, 9.8402, 2.4082)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296517 #531765
analogous
#506517 #296517 #17652C
triadic
#296517 #172965 #651729
tetradic
#296517 #175065 #531765 #652C17
square
#296517 #175065 #531765 #652C17
split-complementary
#296517 #2C1765 #651750
monochromatic
#0A1906 #15330C #296517 #3D9722 #51C92E

Accessibility & contrast

On white

7.07
#296517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#296517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296517
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296517#FFFFFF#000000##FFFFFF
##2965171.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B09
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#226156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #296517;
/* rgb */ color: rgb(41, 101, 23);
/* oklch */ color: oklch(45.0% 0.126 139.5);
Tailwind
colors: {
  custom: {
    50: '#6a915a',
    500: '#296517',
    950: '#000000',
  },
}
SCSS
$custom: #296517;
$custom-light: #6a915a;
$custom-dark: #000000;
JSON
{
  "hex": "#296517",
  "rgb": {
    "r": 41,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 106.154,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45011,
    "c": 0.126,
    "h": 139.5
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

primary
#296517
secondary
#853C9B
accent
#42E6C0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #296517

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

Preview Lab → · Contrast checker → · Palette generator →

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