#295F12#295F12

#295F12 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.2% C 0.121 H 138.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#295F12
RGBrgb(41, 95, 18)
HSLhsl(102, 68%, 22%)
HSVhsv(102, 81%, 37%)
CMYKcmyk(56.8%, 0%, 81.1%, 62.7%)
CIE-LABlab(35.40, -32.76, 36.01)
CIE-LCHlch(35.40, 48.68, 132.30°)
OKLaboklab(43.22% -0.0905 0.0806)
OKLCHoklch(43.22% 0.121 138.3)
XYZxyz(5.1157, 8.6991, 1.9817)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295F12 #48125F
analogous
#505F12 #295F12 #125F22
triadic
#295F12 #12295F #5F1229
tetradic
#295F12 #12505F #48125F #5F2212
square
#295F12 #12505F #48125F #5F2212
split-complementary
#295F12 #22125F #5F1250
monochromatic
#0B1A05 #132C08 #295F12 #3F921C #55C625

Accessibility & contrast

On white

7.66
#295F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#295F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295F12
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295F12#FFFFFF#000000##FFFFFF
##295F121.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5B521A
Tritanopia (blue-blind)
#245B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295f12;
/* rgb */ color: rgb(41, 95, 18);
/* oklch */ color: oklch(43.2% 0.121 138.3);
Tailwind
colors: {
  custom: {
    50: '#698d56',
    500: '#295f12',
    950: '#000000',
  },
}
SCSS
$custom: #295f12;
$custom-light: #698d56;
$custom-dark: #000000;
JSON
{
  "hex": "#295f12",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 102.078,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43223,
    "c": 0.12121,
    "h": 138.3
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#295F12
secondary
#7A3697
accent
#3DEBB7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #295F12

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

Preview Lab → · Contrast checker → · Palette generator →

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