#296317#296317

#296317 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.123 H 139.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#296317
RGBrgb(41, 99, 23)
HSLhsl(106, 62%, 24%)
HSVhsv(106, 77%, 39%)
CMYKcmyk(58.6%, 0%, 76.8%, 61.2%)
CIE-LABlab(36.85, -34.04, 35.48)
CIE-LCHlch(36.85, 49.17, 133.82°)
OKLaboklab(44.43% -0.0936 0.0803)
OKLCHoklch(44.43% 0.123 139.4)
XYZxyz(5.5307, 9.4565, 2.3443)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296317 #511763
analogous
#4F6317 #296317 #17632B
triadic
#296317 #172963 #631729
tetradic
#296317 #174F63 #511763 #632B17
square
#296317 #174F63 #511763 #632B17
split-complementary
#296317 #2B1763 #63174F
monochromatic
#0A1906 #14310B #296317 #3E9523 #52C62E

Accessibility & contrast

On white

7.26
#296317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#296317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296317
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296317#FFFFFF#000000##FFFFFF
##2963171.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0A
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#235F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #296317;
/* rgb */ color: rgb(41, 99, 23);
/* oklch */ color: oklch(44.4% 0.123 139.4);
Tailwind
colors: {
  custom: {
    50: '#6a9059',
    500: '#296317',
    950: '#000000',
  },
}
SCSS
$custom: #296317;
$custom-light: #6a9059;
$custom-dark: #000000;
JSON
{
  "hex": "#296317",
  "rgb": {
    "r": 41,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 105.789,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4443,
    "c": 0.12333,
    "h": 139.4
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#296317
secondary
#833C9A
accent
#42E5BF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #296317

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

Preview Lab → · Contrast checker → · Palette generator →

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