#295918#295918

#295918 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.109 H 138.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#295918
RGBrgb(41, 89, 24)
HSLhsl(104, 58%, 22%)
HSVhsv(104, 73%, 35%)
CMYKcmyk(53.9%, 0%, 73%, 65.1%)
CIE-LABlab(33.31, -29.66, 31.37)
CIE-LCHlch(33.31, 43.17, 133.39°)
OKLaboklab(41.52% -0.0817 0.0718)
OKLCHoklch(41.52% 0.109 138.7)
XYZxyz(4.6515, 7.6818, 2.1016)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295918 #481859
analogous
#4A5918 #295918 #185928
triadic
#295918 #182959 #591829
tetradic
#295918 #184A59 #481859 #592818
square
#295918 #184A59 #481859 #592818
split-complementary
#295918 #281859 #59184A
monochromatic
#0B1806 #13290B #295918 #3F8925 #55B932

Accessibility & contrast

On white

8.28
#295918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#295918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295918
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295918#FFFFFF#000000##FFFFFF
##2959181.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#564D1E
Tritanopia (blue-blind)
#25564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #295918;
/* rgb */ color: rgb(41, 89, 24);
/* oklch */ color: oklch(41.5% 0.109 138.7);
Tailwind
colors: {
  custom: {
    50: '#688859',
    500: '#295918',
    950: '#000000',
  },
}
SCSS
$custom: #295918;
$custom-light: #688859;
$custom-dark: #000000;
JSON
{
  "hex": "#295918",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 104.308,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41519,
    "c": 0.10879,
    "h": 138.7
  },
  "luminance": 0.07682
}

Semantic roles & 50–950 ramp

primary
#295918
secondary
#7A3D90
accent
#47E1B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #295918

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

Preview Lab → · Contrast checker → · Palette generator →

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