#295712#295712

#295712 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.9% C 0.110 H 137.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#295712
RGBrgb(41, 87, 18)
HSLhsl(100, 66%, 21%)
HSVhsv(100, 79%, 34%)
CMYKcmyk(52.9%, 0%, 79.3%, 65.9%)
CIE-LABlab(32.55, -29.30, 33.20)
CIE-LCHlch(32.55, 44.28, 131.43°)
OKLaboklab(40.88% -0.0812 0.0747)
OKLCHoklch(40.88% 0.11 137.4)
XYZxyz(4.4317, 7.3312, 1.7537)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295712 #401257
analogous
#4B5712 #295712 #12571D
triadic
#295712 #122957 #571229
tetradic
#295712 #124B57 #401257 #571D12
square
#295712 #124B57 #401257 #571D12
split-complementary
#295712 #1D1257 #57124B
monochromatic
#0C1905 #112408 #295712 #418A1C #59BC27

Accessibility & contrast

On white

8.52
#295712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#295712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295712
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295712#FFFFFF#000000##FFFFFF
##2957121.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#26544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #295712;
/* rgb */ color: rgb(41, 87, 18);
/* oklch */ color: oklch(40.9% 0.110 137.4);
Tailwind
colors: {
  custom: {
    50: '#688755',
    500: '#295712',
    950: '#000000',
  },
}
SCSS
$custom: #295712;
$custom-light: #688755;
$custom-dark: #000000;
JSON
{
  "hex": "#295712",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 100,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40877,
    "c": 0.11035,
    "h": 137.4
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#295712
secondary
#713590
accent
#3FE9B0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #295712

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

Preview Lab → · Contrast checker → · Palette generator →

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