#295B18#295B18

#295B18 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.112 H 138.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#295B18
RGBrgb(41, 91, 24)
HSLhsl(105, 58%, 23%)
HSVhsv(105, 74%, 36%)
CMYKcmyk(54.9%, 0%, 73.6%, 64.3%)
CIE-LABlab(34.02, -30.54, 32.12)
CIE-LCHlch(34.02, 44.33, 133.55°)
OKLaboklab(42.1% -0.0841 0.0734)
OKLCHoklch(42.1% 0.112 138.9)
XYZxyz(4.8202, 8.0192, 2.1578)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295B18 #4A185B
analogous
#4B5B18 #295B18 #185B28
triadic
#295B18 #18295B #5B1829
tetradic
#295B18 #184B5B #4A185B #5B2818
square
#295B18 #184B5B #4A185B #5B2818
split-complementary
#295B18 #28185B #5B184B
monochromatic
#0B1806 #132B0B #295B18 #3F8B25 #55BC32

Accessibility & contrast

On white

8.06
#295B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#295B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295B18
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295B18#FFFFFF#000000##FFFFFF
##295B181.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530E
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#25584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #295b18;
/* rgb */ color: rgb(41, 91, 24);
/* oklch */ color: oklch(42.1% 0.112 138.9);
Tailwind
colors: {
  custom: {
    50: '#688a59',
    500: '#295b18',
    950: '#000000',
  },
}
SCSS
$custom: #295b18;
$custom-light: #688a59;
$custom-dark: #000000;
JSON
{
  "hex": "#295b18",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 104.776,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42104,
    "c": 0.11163,
    "h": 138.9
  },
  "luminance": 0.0802
}

Semantic roles & 50–950 ramp

primary
#295B18
secondary
#7C3D92
accent
#46E1BA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #295B18

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

Preview Lab → · Contrast checker → · Palette generator →

#295B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva