#295317#295317

#295317 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.101 H 137.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#295317
RGBrgb(41, 83, 23)
HSLhsl(102, 57%, 21%)
HSVhsv(102, 72%, 33%)
CMYKcmyk(50.6%, 0%, 72.3%, 67.5%)
CIE-LABlab(31.16, -27.04, 29.54)
CIE-LCHlch(31.16, 40.05, 132.46°)
OKLaboklab(39.75% -0.0747 0.0678)
OKLCHoklch(39.75% 0.101 137.8)
XYZxyz(4.1622, 6.7195, 1.8881)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295317 #411753
analogous
#475317 #295317 #175323
triadic
#295317 #172953 #531729
tetradic
#295317 #174753 #411753 #532317
square
#295317 #174753 #411753 #532317
split-complementary
#295317 #231753 #531747
monochromatic
#0C1807 #11230A #295317 #418324 #58B332

Accessibility & contrast

On white

8.96
#295317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#295317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295317
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295317#FFFFFF#000000##FFFFFF
##2953171.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0F
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#265047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #295317;
/* rgb */ color: rgb(41, 83, 23);
/* oklch */ color: oklch(39.7% 0.101 137.8);
Tailwind
colors: {
  custom: {
    50: '#678457',
    500: '#295317',
    950: '#000000',
  },
}
SCSS
$custom: #295317;
$custom-light: #678457;
$custom-dark: #000000;
JSON
{
  "hex": "#295317",
  "rgb": {
    "r": 41,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 102,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39749,
    "c": 0.10089,
    "h": 137.8
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#295317
secondary
#733C8A
accent
#48E0B2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #295317

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

Preview Lab → · Contrast checker → · Palette generator →

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