#296818#296818

#296818 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.129 H 139.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#296818
RGBrgb(41, 104, 24)
HSLhsl(107, 63%, 25%)
HSVhsv(107, 77%, 41%)
CMYKcmyk(60.6%, 0%, 76.9%, 59.2%)
CIE-LABlab(38.62, -36.01, 36.86)
CIE-LCHlch(38.62, 51.53, 134.32°)
OKLaboklab(45.89% -0.0989 0.0833)
OKLCHoklch(45.89% 0.129 139.9)
XYZxyz(6.0294, 10.4375, 2.5609)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296818 #571868
analogous
#516818 #296818 #18682F
triadic
#296818 #182968 #681829
tetradic
#296818 #185168 #571868 #682F18
square
#296818 #185168 #571868 #682F18
split-complementary
#296818 #2F1868 #681851
monochromatic
#0A1906 #15360D #296818 #3D9A23 #50CB2F

Accessibility & contrast

On white

6.80
#296818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#296818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296818
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296818#FFFFFF#000000##FFFFFF
##2968181.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#216458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #296818;
/* rgb */ color: rgb(41, 104, 24);
/* oklch */ color: oklch(45.9% 0.129 139.9);
Tailwind
colors: {
  custom: {
    50: '#6b945b',
    500: '#296818',
    950: '#000000',
  },
}
SCSS
$custom: #296818;
$custom-light: #6b945b;
$custom-dark: #000000;
JSON
{
  "hex": "#296818",
  "rgb": {
    "r": 41,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 107.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4589,
    "c": 0.12929,
    "h": 139.9
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#296818
secondary
#8A3E9E
accent
#42E6C3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #296818

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

Preview Lab → · Contrast checker → · Palette generator →

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