#296318#296318

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

Color values

HEX#296318
RGBrgb(41, 99, 24)
HSLhsl(106, 61%, 24%)
HSVhsv(106, 76%, 39%)
CMYKcmyk(58.6%, 0%, 75.8%, 61.2%)
CIE-LABlab(36.86, -33.96, 35.07)
CIE-LCHlch(36.86, 48.82, 134.08°)
OKLaboklab(44.44% -0.0933 0.0796)
OKLCHoklch(44.44% 0.123 139.6)
XYZxyz(5.5409, 9.4606, 2.3981)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296318 #521863
analogous
#4F6318 #296318 #18632D
triadic
#296318 #182963 #631829
tetradic
#296318 #184F63 #521863 #632D18
square
#296318 #184F63 #521863 #632D18
split-complementary
#296318 #2D1863 #63184F
monochromatic
#0A1906 #15320C #296318 #3D9424 #52C630

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##296318#FFFFFF#000000##FFFFFF
##2963181.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)
#665A0C
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#236054
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #296318;
/* rgb */ color: rgb(41, 99, 24);
/* oklch */ color: oklch(44.4% 0.123 139.6);
Tailwind
colors: {
  custom: {
    50: '#6a905a',
    500: '#296318',
    950: '#000000',
  },
}
SCSS
$custom: #296318;
$custom-light: #6a905a;
$custom-dark: #000000;
JSON
{
  "hex": "#296318",
  "rgb": {
    "r": 41,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 106.4,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44438,
    "c": 0.12265,
    "h": 139.6
  },
  "luminance": 0.09461
}

Semantic roles & 50–950 ramp

primary
#296318
secondary
#843E99
accent
#44E4C0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #296318

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

Preview Lab → · Contrast checker → · Palette generator →

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