#296118#296118

#296118 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.9% C 0.120 H 139.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#296118
RGBrgb(41, 97, 24)
HSLhsl(106, 60%, 24%)
HSVhsv(106, 75%, 38%)
CMYKcmyk(57.7%, 0%, 75.3%, 62%)
CIE-LABlab(36.15, -33.12, 34.34)
CIE-LCHlch(36.15, 47.71, 133.96°)
OKLaboklab(43.86% -0.0911 0.0781)
OKLCHoklch(43.86% 0.12 139.4)
XYZxyz(5.3538, 9.0863, 2.3357)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296118 #501861
analogous
#4D6118 #296118 #18612B
triadic
#296118 #182961 #611829
tetradic
#296118 #184D61 #501861 #612B18
square
#296118 #184D61 #501861 #612B18
split-complementary
#296118 #2B1861 #61184D
monochromatic
#0A1906 #14300C #296118 #3E9224 #52C330

Accessibility & contrast

On white

7.45
#296118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#296118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296118
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296118#FFFFFF#000000##FFFFFF
##2961181.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580C
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#235E53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #296118;
/* rgb */ color: rgb(41, 97, 24);
/* oklch */ color: oklch(43.9% 0.120 139.4);
Tailwind
colors: {
  custom: {
    50: '#6a8e5a',
    500: '#296118',
    950: '#000000',
  },
}
SCSS
$custom: #296118;
$custom-light: #6a8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#296118",
  "rgb": {
    "r": 41,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 106.027,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43856,
    "c": 0.11994,
    "h": 139.4
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

primary
#296118
secondary
#823D97
accent
#44E3BE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #296118

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

Preview Lab → · Contrast checker → · Palette generator →

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