#295812#295812

#295812 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.2% C 0.112 H 137.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#295812
RGBrgb(41, 88, 18)
HSLhsl(100, 66%, 21%)
HSVhsv(100, 80%, 35%)
CMYKcmyk(53.4%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.91, -29.75, 33.55)
CIE-LCHlch(32.91, 44.84, 131.56°)
OKLaboklab(41.17% -0.0824 0.0755)
OKLCHoklch(41.17% 0.112 137.5)
XYZxyz(4.5132, 7.4942, 1.7809)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295812 #411258
analogous
#4C5812 #295812 #12581E
triadic
#295812 #122958 #581229
tetradic
#295812 #124C58 #411258 #581E12
square
#295812 #124C58 #411258 #581E12
split-complementary
#295812 #1E1258 #58124C
monochromatic
#0C1905 #112508 #295812 #418B1C #58BE27

Accessibility & contrast

On white

8.40
#295812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#295812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295812
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295812#FFFFFF#000000##FFFFFF
##2958121.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#26554A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #295812;
/* rgb */ color: rgb(41, 88, 18);
/* oklch */ color: oklch(41.2% 0.112 137.5);
Tailwind
colors: {
  custom: {
    50: '#688755',
    500: '#295812',
    950: '#000000',
  },
}
SCSS
$custom: #295812;
$custom-light: #688755;
$custom-dark: #000000;
JSON
{
  "hex": "#295812",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 100.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41171,
    "c": 0.11174,
    "h": 137.5
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#295812
secondary
#733591
accent
#3FE9B1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #295812

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

Preview Lab → · Contrast checker → · Palette generator →

#295812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva