#295C12#295C12

#295C12 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.117 H 138.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#295C12
RGBrgb(41, 92, 18)
HSLhsl(101, 67%, 22%)
HSVhsv(101, 80%, 36%)
CMYKcmyk(55.4%, 0%, 80.4%, 63.9%)
CIE-LABlab(34.33, -31.49, 34.97)
CIE-LCHlch(34.33, 47.05, 132.00°)
OKLaboklab(42.34% -0.0871 0.0784)
OKLCHoklch(42.34% 0.117 138)
XYZxyz(4.8506, 8.1690, 1.8933)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295C12 #45125C
analogous
#4E5C12 #295C12 #125C20
triadic
#295C12 #12295C #5C1229
tetradic
#295C12 #124E5C #45125C #5C2012
square
#295C12 #124E5C #45125C #5C2012
split-complementary
#295C12 #20125C #5C124E
monochromatic
#0B1A05 #122908 #295C12 #408F1C #57C226

Accessibility & contrast

On white

7.97
#295C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#295C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295C12
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295C12#FFFFFF#000000##FFFFFF
##295C121.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#25594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #295c12;
/* rgb */ color: rgb(41, 92, 18);
/* oklch */ color: oklch(42.3% 0.117 138.0);
Tailwind
colors: {
  custom: {
    50: '#698b56',
    500: '#295c12',
    950: '#000000',
  },
}
SCSS
$custom: #295c12;
$custom-light: #698b56;
$custom-dark: #000000;
JSON
{
  "hex": "#295c12",
  "rgb": {
    "r": 41,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 101.351,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.11719,
    "h": 138
  },
  "luminance": 0.08169
}

Semantic roles & 50–950 ramp

primary
#295C12
secondary
#773594
accent
#3EEAB5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #295C12

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

Preview Lab → · Contrast checker → · Palette generator →

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