#295A12#295A12

#295A12 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.8% C 0.114 H 137.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#295A12
RGBrgb(41, 90, 18)
HSLhsl(101, 67%, 21%)
HSVhsv(101, 80%, 35%)
CMYKcmyk(54.4%, 0%, 80%, 64.7%)
CIE-LABlab(33.62, -30.62, 34.26)
CIE-LCHlch(33.62, 45.95, 131.79°)
OKLaboklab(41.76% -0.0848 0.077)
OKLCHoklch(41.76% 0.114 137.8)
XYZxyz(4.6796, 7.8271, 1.8363)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295A12 #43125A
analogous
#4D5A12 #295A12 #125A1F
triadic
#295A12 #12295A #5A1229
tetradic
#295A12 #124D5A #43125A #5A1F12
square
#295A12 #124D5A #43125A #5A1F12
split-complementary
#295A12 #1F125A #5A124D
monochromatic
#0C1A05 #122708 #295A12 #408D1C #57C026

Accessibility & contrast

On white

8.19
#295A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#295A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295A12
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295A12#FFFFFF#000000##FFFFFF
##295A121.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5204
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#25574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #295a12;
/* rgb */ color: rgb(41, 90, 18);
/* oklch */ color: oklch(41.8% 0.114 137.8);
Tailwind
colors: {
  custom: {
    50: '#698956',
    500: '#295a12',
    950: '#000000',
  },
}
SCSS
$custom: #295a12;
$custom-light: #698956;
$custom-dark: #000000;
JSON
{
  "hex": "#295a12",
  "rgb": {
    "r": 41,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 100.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41758,
    "c": 0.11448,
    "h": 137.8
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#295A12
secondary
#753593
accent
#3EEAB3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #295A12

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

Preview Lab → · Contrast checker → · Palette generator →

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