#296315#296315

#296315 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.4% C 0.125 H 139.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#296315
RGBrgb(41, 99, 21)
HSLhsl(105, 65%, 24%)
HSVhsv(105, 79%, 39%)
CMYKcmyk(58.6%, 0%, 78.8%, 61.2%)
CIE-LABlab(36.83, -34.21, 36.27)
CIE-LCHlch(36.83, 49.86, 133.32°)
OKLaboklab(44.41% -0.0942 0.0816)
OKLCHoklch(44.41% 0.125 139.1)
XYZxyz(5.5114, 9.4488, 2.2427)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296315 #4F1563
analogous
#506315 #296315 #156328
triadic
#296315 #152963 #631529
tetradic
#296315 #155063 #4F1563 #632815
square
#296315 #155063 #4F1563 #632815
split-complementary
#296315 #281563 #631550
monochromatic
#0A1905 #14310A #296315 #3E9520 #53C82A

Accessibility & contrast

On white

7.27
#296315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #296315
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296315#FFFFFF#000000##FFFFFF
##2963151.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #296315;
/* rgb */ color: rgb(41, 99, 21);
/* oklch */ color: oklch(44.4% 0.125 139.1);
Tailwind
colors: {
  custom: {
    50: '#6a9058',
    500: '#296315',
    950: '#000000',
  },
}
SCSS
$custom: #296315;
$custom-light: #6a9058;
$custom-dark: #000000;
JSON
{
  "hex": "#296315",
  "rgb": {
    "r": 41,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 104.615,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44413,
    "c": 0.12466,
    "h": 139.1
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#296315
secondary
#813A9A
accent
#40E8BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #296315

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

Preview Lab → · Contrast checker → · Palette generator →

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