#295E12#295E12

#295E12 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.120 H 138.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#295E12
RGBrgb(41, 94, 18)
HSLhsl(102, 68%, 22%)
HSVhsv(102, 81%, 37%)
CMYKcmyk(56.4%, 0%, 80.9%, 63.1%)
CIE-LABlab(35.04, -32.34, 35.66)
CIE-LCHlch(35.04, 48.14, 132.20°)
OKLaboklab(42.93% -0.0894 0.0799)
OKLCHoklch(42.93% 0.12 138.2)
XYZxyz(5.0262, 8.5201, 1.9518)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295E12 #47125E
analogous
#4F5E12 #295E12 #125E21
triadic
#295E12 #12295E #5E1229
tetradic
#295E12 #124F5E #47125E #5E2112
square
#295E12 #124F5E #47125E #5E2112
split-complementary
#295E12 #21125E #5E124F
monochromatic
#0B1A05 #132B08 #295E12 #3F911C #56C526

Accessibility & contrast

On white

7.77
#295E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#295E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295E12
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295E12#FFFFFF#000000##FFFFFF
##295E121.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#5A511A
Tritanopia (blue-blind)
#255A50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #295e12;
/* rgb */ color: rgb(41, 94, 18);
/* oklch */ color: oklch(42.9% 0.120 138.2);
Tailwind
colors: {
  custom: {
    50: '#698c56',
    500: '#295e12',
    950: '#000000',
  },
}
SCSS
$custom: #295e12;
$custom-light: #698c56;
$custom-dark: #000000;
JSON
{
  "hex": "#295e12",
  "rgb": {
    "r": 41,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 101.842,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4293,
    "c": 0.11988,
    "h": 138.2
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#295E12
secondary
#793596
accent
#3DEBB6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #295E12

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

Preview Lab → · Contrast checker → · Palette generator →

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