#295D12#295D12

#295D12 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.119 H 138.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#295D12
RGBrgb(41, 93, 18)
HSLhsl(102, 68%, 22%)
HSVhsv(102, 81%, 36%)
CMYKcmyk(55.9%, 0%, 80.6%, 63.5%)
CIE-LABlab(34.69, -31.92, 35.31)
CIE-LCHlch(34.69, 47.60, 132.11°)
OKLaboklab(42.64% -0.0882 0.0792)
OKLCHoklch(42.64% 0.119 138.1)
XYZxyz(4.9378, 8.3434, 1.9224)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295D12 #46125D
analogous
#4F5D12 #295D12 #125D21
triadic
#295D12 #12295D #5D1229
tetradic
#295D12 #124F5D #46125D #5D2112
square
#295D12 #124F5D #46125D #5D2112
split-complementary
#295D12 #21125D #5D124F
monochromatic
#0B1A05 #122A08 #295D12 #40901C #56C426

Accessibility & contrast

On white

7.87
#295D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#295D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295D12
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295D12#FFFFFF#000000##FFFFFF
##295D121.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#25594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #295d12;
/* rgb */ color: rgb(41, 93, 18);
/* oklch */ color: oklch(42.6% 0.119 138.1);
Tailwind
colors: {
  custom: {
    50: '#698b56',
    500: '#295d12',
    950: '#000000',
  },
}
SCSS
$custom: #295d12;
$custom-light: #698b56;
$custom-dark: #000000;
JSON
{
  "hex": "#295d12",
  "rgb": {
    "r": 41,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 101.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42637,
    "c": 0.11854,
    "h": 138.1
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#295D12
secondary
#783595
accent
#3DEAB5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #295D12

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

Preview Lab → · Contrast checker → · Palette generator →

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