#296240#296240

#296240 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.082 H 154.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#296240
RGBrgb(41, 98, 64)
HSLhsl(144, 41%, 27%)
HSVhsv(144, 58%, 38%)
CMYKcmyk(58.2%, 0%, 34.7%, 61.6%)
CIE-LABlab(37.07, -27.40, 13.86)
CIE-LCHlch(37.07, 30.71, 153.17°)
OKLaboklab(44.8% -0.0746 0.035)
OKLCHoklch(44.8% 0.082 154.9)
XYZxyz(6.2071, 9.5764, 6.3708)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296240 #62294B
analogous
#2E6229 #296240 #29625D
triadic
#296240 #402962 #624029
tetradic
#296240 #292E62 #62294B #625D29
square
#296240 #292E62 #62294B #625D29
split-complementary
#296240 #5D2962 #62292E
monochromatic
#09160E #173724 #296240 #3B8D5C #50B679

Accessibility & contrast

On white

7.20
#296240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#296240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296240
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296240#FFFFFF#000000##FFFFFF
##2962401.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B3E
Deuteranopia (green-blind)
#5A5542
Tritanopia (blue-blind)
#186159
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #296240;
/* rgb */ color: rgb(41, 98, 64);
/* oklch */ color: oklch(44.8% 0.082 154.9);
Tailwind
colors: {
  custom: {
    50: '#688f75',
    500: '#296240',
    950: '#000000',
  },
}
SCSS
$custom: #296240;
$custom-light: #688f75;
$custom-dark: #000000;
JSON
{
  "hex": "#296240",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 64
  },
  "hsl": {
    "h": 144.211,
    "s": 41.007,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44798,
    "c": 0.0824,
    "h": 154.9
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#296240
secondary
#95527A
accent
#57A0D1
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #296240

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

Preview Lab → · Contrast checker → · Palette generator →

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