#295F1B#295F1B

#295F1B is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.115 H 139.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#295F1B
RGBrgb(41, 95, 27)
HSLhsl(108, 56%, 24%)
HSVhsv(108, 72%, 37%)
CMYKcmyk(56.8%, 0%, 71.6%, 62.7%)
CIE-LABlab(35.47, -31.98, 32.29)
CIE-LCHlch(35.47, 45.45, 134.73°)
OKLaboklab(43.3% -0.0878 0.0742)
OKLCHoklch(43.3% 0.115 139.8)
XYZxyz(5.2043, 8.7346, 2.4484)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295F1B #511B5F
analogous
#4B5F1B #295F1B #1B5F2F
triadic
#295F1B #1B295F #5F1B29
tetradic
#295F1B #1B4B5F #511B5F #5F2F1B
square
#295F1B #1B4B5F #511B5F #5F2F1B
split-complementary
#295F1B #2F1B5F #5F1B4B
monochromatic
#0A1807 #142F0D #295F1B #3E8F29 #52BE36

Accessibility & contrast

On white

7.64
#295F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#295F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295F1B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295F1B#FFFFFF#000000##FFFFFF
##295F1B1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625612
Deuteranopia (green-blind)
#5B5221
Tritanopia (blue-blind)
#235C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295f1b;
/* rgb */ color: rgb(41, 95, 27);
/* oklch */ color: oklch(43.3% 0.115 139.8);
Tailwind
colors: {
  custom: {
    50: '#698d5b',
    500: '#295f1b',
    950: '#000000',
  },
}
SCSS
$custom: #295f1b;
$custom-light: #698d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#295f1b",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 107.647,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43302,
    "c": 0.11491,
    "h": 139.8
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#295F1B
secondary
#834195
accent
#49DFC0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #295F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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