#295318#295318

#295318 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.8% C 0.100 H 138.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#295318
RGBrgb(41, 83, 24)
HSLhsl(103, 55%, 21%)
HSVhsv(103, 71%, 33%)
CMYKcmyk(50.6%, 0%, 71.1%, 67.5%)
CIE-LABlab(31.17, -26.93, 29.07)
CIE-LCHlch(31.17, 39.63, 132.81°)
OKLaboklab(39.76% -0.0743 0.067)
OKLCHoklch(39.76% 0.1 138)
XYZxyz(4.1724, 6.7236, 1.9419)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295318 #421853
analogous
#465318 #295318 #185324
triadic
#295318 #182953 #531829
tetradic
#295318 #184653 #421853 #532418
square
#295318 #184653 #421853 #532418
split-complementary
#295318 #241853 #531846
monochromatic
#0C1807 #12240A #295318 #408226 #58B233

Accessibility & contrast

On white

8.96
#295318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#295318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295318
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295318#FFFFFF#000000##FFFFFF
##2953181.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C10
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#265047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #295318;
/* rgb */ color: rgb(41, 83, 24);
/* oklch */ color: oklch(39.8% 0.100 138.0);
Tailwind
colors: {
  custom: {
    50: '#678458',
    500: '#295318',
    950: '#000000',
  },
}
SCSS
$custom: #295318;
$custom-light: #678458;
$custom-dark: #000000;
JSON
{
  "hex": "#295318",
  "rgb": {
    "r": 41,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 102.712,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3976,
    "c": 0.10005,
    "h": 138
  },
  "luminance": 0.06724
}

Semantic roles & 50–950 ramp

primary
#295318
secondary
#743D8A
accent
#49DEB3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #295318

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

Preview Lab → · Contrast checker → · Palette generator →

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