#295A18#295A18

#295A18 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.110 H 138.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#295A18
RGBrgb(41, 90, 24)
HSLhsl(105, 58%, 22%)
HSVhsv(105, 73%, 35%)
CMYKcmyk(54.4%, 0%, 73.3%, 64.7%)
CIE-LABlab(33.67, -30.10, 31.75)
CIE-LCHlch(33.67, 43.75, 133.47°)
OKLaboklab(41.81% -0.0829 0.0726)
OKLCHoklch(41.81% 0.11 138.8)
XYZxyz(4.7353, 7.8493, 2.1295)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295A18 #49185A
analogous
#4A5A18 #295A18 #185A28
triadic
#295A18 #18295A #5A1829
tetradic
#295A18 #184A5A #49185A #5A2818
square
#295A18 #184A5A #49185A #5A2818
split-complementary
#295A18 #28185A #5A184A
monochromatic
#0B1806 #132A0B #295A18 #3F8A25 #55BB32

Accessibility & contrast

On white

8.17
#295A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#295A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295A18
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295A18#FFFFFF#000000##FFFFFF
##295A181.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520F
Deuteranopia (green-blind)
#564E1E
Tritanopia (blue-blind)
#25574D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #295a18;
/* rgb */ color: rgb(41, 90, 24);
/* oklch */ color: oklch(41.8% 0.110 138.8);
Tailwind
colors: {
  custom: {
    50: '#688959',
    500: '#295a18',
    950: '#000000',
  },
}
SCSS
$custom: #295a18;
$custom-light: #688959;
$custom-dark: #000000;
JSON
{
  "hex": "#295a18",
  "rgb": {
    "r": 41,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 104.545,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.11021,
    "h": 138.8
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#295A18
secondary
#7B3D91
accent
#47E1B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #295A18

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

Preview Lab → · Contrast checker → · Palette generator →

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