#295218#295218

#295218 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.5% C 0.099 H 137.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#295218
RGBrgb(41, 82, 24)
HSLhsl(102, 55%, 21%)
HSVhsv(102, 71%, 32%)
CMYKcmyk(50%, 0%, 70.7%, 67.8%)
CIE-LABlab(30.81, -26.47, 28.68)
CIE-LCHlch(30.81, 39.03, 132.70°)
OKLaboklab(39.47% -0.073 0.0662)
OKLCHoklch(39.47% 0.099 137.8)
XYZxyz(4.0965, 6.5717, 1.9166)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295218 #411852
analogous
#465218 #295218 #185224
triadic
#295218 #182952 #521829
tetradic
#295218 #184652 #411852 #522418
square
#295218 #184652 #411852 #522418
split-complementary
#295218 #241852 #521846
monochromatic
#0C1807 #11230A #295218 #418126 #58B134

Accessibility & contrast

On white

9.07
#295218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#295218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295218
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295218#FFFFFF#000000##FFFFFF
##2952181.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#264F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #295218;
/* rgb */ color: rgb(41, 82, 24);
/* oklch */ color: oklch(39.5% 0.099 137.8);
Tailwind
colors: {
  custom: {
    50: '#678358',
    500: '#295218',
    950: '#000000',
  },
}
SCSS
$custom: #295218;
$custom-light: #678358;
$custom-dark: #000000;
JSON
{
  "hex": "#295218",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 102.414,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39466,
    "c": 0.09855,
    "h": 137.8
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#295218
secondary
#733D89
accent
#4ADEB3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #295218

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

Preview Lab → · Contrast checker → · Palette generator →

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