#295F18#295F18

#295F18 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.117 H 139.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#295F18
RGBrgb(41, 95, 24)
HSLhsl(106, 60%, 23%)
HSVhsv(106, 75%, 37%)
CMYKcmyk(56.8%, 0%, 74.7%, 62.7%)
CIE-LABlab(35.44, -32.27, 33.61)
CIE-LCHlch(35.44, 46.59, 133.84°)
OKLaboklab(43.27% -0.0888 0.0765)
OKLCHoklch(43.27% 0.117 139.2)
XYZxyz(5.1713, 8.7214, 2.2749)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295F18 #4E185F
analogous
#4C5F18 #295F18 #185F2A
triadic
#295F18 #18295F #5F1829
tetradic
#295F18 #184C5F #4E185F #5F2A18
square
#295F18 #184C5F #4E185F #5F2A18
split-complementary
#295F18 #2A185F #5F184C
monochromatic
#0B1806 #142E0C #295F18 #3E9024 #53C131

Accessibility & contrast

On white

7.65
#295F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#295F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295F18
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295F18#FFFFFF#000000##FFFFFF
##295F181.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560D
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#245C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295f18;
/* rgb */ color: rgb(41, 95, 24);
/* oklch */ color: oklch(43.3% 0.117 139.2);
Tailwind
colors: {
  custom: {
    50: '#698d59',
    500: '#295f18',
    950: '#000000',
  },
}
SCSS
$custom: #295f18;
$custom-light: #698d59;
$custom-dark: #000000;
JSON
{
  "hex": "#295f18",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 105.634,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43273,
    "c": 0.1172,
    "h": 139.2
  },
  "luminance": 0.08722
}

Semantic roles & 50–950 ramp

primary
#295F18
secondary
#803D95
accent
#45E3BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #295F18

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

Preview Lab → · Contrast checker → · Palette generator →

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