#295D18#295D18

#295D18 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.114 H 139.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#295D18
RGBrgb(41, 93, 24)
HSLhsl(105, 59%, 23%)
HSVhsv(105, 74%, 36%)
CMYKcmyk(55.9%, 0%, 74.2%, 63.5%)
CIE-LABlab(34.73, -31.41, 32.87)
CIE-LCHlch(34.73, 45.47, 133.70°)
OKLaboklab(42.69% -0.0864 0.075)
OKLCHoklch(42.69% 0.114 139.1)
XYZxyz(4.9935, 8.3657, 2.2156)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295D18 #4C185D
analogous
#4B5D18 #295D18 #185D29
triadic
#295D18 #18295D #5D1829
tetradic
#295D18 #184B5D #4C185D #5D2918
square
#295D18 #184B5D #4C185D #5D2918
split-complementary
#295D18 #29185D #5D184B
monochromatic
#0B1806 #142C0B #295D18 #3E8E25 #54BE31

Accessibility & contrast

On white

7.86
#295D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#295D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295D18
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295D18#FFFFFF#000000##FFFFFF
##295D181.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540E
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#245A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #295d18;
/* rgb */ color: rgb(41, 93, 24);
/* oklch */ color: oklch(42.7% 0.114 139.1);
Tailwind
colors: {
  custom: {
    50: '#698b59',
    500: '#295d18',
    950: '#000000',
  },
}
SCSS
$custom: #295d18;
$custom-light: #698b59;
$custom-dark: #000000;
JSON
{
  "hex": "#295d18",
  "rgb": {
    "r": 41,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 105.217,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42689,
    "c": 0.11442,
    "h": 139.1
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#295D18
secondary
#7E3D93
accent
#46E2BC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #295D18

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

Preview Lab → · Contrast checker → · Palette generator →

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