#295912#295912

#295912 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.113 H 137.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#295912
RGBrgb(41, 89, 18)
HSLhsl(101, 66%, 21%)
HSVhsv(101, 80%, 35%)
CMYKcmyk(53.9%, 0%, 79.8%, 65.1%)
CIE-LABlab(33.26, -30.18, 33.91)
CIE-LCHlch(33.26, 45.40, 131.67°)
OKLaboklab(41.46% -0.0836 0.0762)
OKLCHoklch(41.46% 0.113 137.6)
XYZxyz(4.5959, 7.6595, 1.8084)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295912 #421259
analogous
#4C5912 #295912 #12591E
triadic
#295912 #122959 #591229
tetradic
#295912 #124C59 #421259 #591E12
square
#295912 #124C59 #421259 #591E12
split-complementary
#295912 #1E1259 #59124C
monochromatic
#0C1905 #122608 #295912 #408C1C #58BF27

Accessibility & contrast

On white

8.29
#295912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#295912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295912
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295912#FFFFFF#000000##FFFFFF
##2959121.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#26564B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #295912;
/* rgb */ color: rgb(41, 89, 18);
/* oklch */ color: oklch(41.5% 0.113 137.6);
Tailwind
colors: {
  custom: {
    50: '#688855',
    500: '#295912',
    950: '#000000',
  },
}
SCSS
$custom: #295912;
$custom-light: #688855;
$custom-dark: #000000;
JSON
{
  "hex": "#295912",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 100.563,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41464,
    "c": 0.11311,
    "h": 137.6
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#295912
secondary
#743592
accent
#3FE9B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #295912

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

Preview Lab → · Contrast checker → · Palette generator →

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