#295818#295818

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

Color values

HEX#295818
RGBrgb(41, 88, 24)
HSLhsl(104, 57%, 22%)
HSVhsv(104, 73%, 35%)
CMYKcmyk(53.4%, 0%, 72.7%, 65.5%)
CIE-LABlab(32.95, -29.21, 30.99)
CIE-LCHlch(32.95, 42.59, 133.31°)
OKLaboklab(41.23% -0.0805 0.071)
OKLCHoklch(41.23% 0.107 138.6)
XYZxyz(4.5689, 7.5165, 2.0740)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295818 #471858
analogous
#495818 #295818 #185827
triadic
#295818 #182958 #581829
tetradic
#295818 #184958 #471858 #582718
square
#295818 #184958 #471858 #582718
split-complementary
#295818 #271858 #581849
monochromatic
#0B1807 #13280B #295818 #3F8825 #56B832

Accessibility & contrast

On white

8.39
#295818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #295818
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295818#FFFFFF#000000##FFFFFF
##2958181.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#25554B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #295818;
/* rgb */ color: rgb(41, 88, 24);
/* oklch */ color: oklch(41.2% 0.107 138.6);
Tailwind
colors: {
  custom: {
    50: '#688759',
    500: '#295818',
    950: '#000000',
  },
}
SCSS
$custom: #295818;
$custom-light: #688759;
$custom-dark: #000000;
JSON
{
  "hex": "#295818",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 104.063,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41226,
    "c": 0.10735,
    "h": 138.6
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#295818
secondary
#793D8F
accent
#47E0B8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #295818

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

Preview Lab → · Contrast checker → · Palette generator →

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