#296128#296128

#296128 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.106 H 143.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#296128
RGBrgb(41, 97, 40)
HSLhsl(119, 42%, 27%)
HSVhsv(119, 59%, 38%)
CMYKcmyk(57.7%, 0%, 58.8%, 62%)
CIE-LABlab(36.32, -31.27, 26.71)
CIE-LCHlch(36.32, 41.12, 139.50°)
OKLaboklab(44.05% -0.085 0.0636)
OKLCHoklch(44.05% 0.106 143.2)
XYZxyz(5.5719, 9.1735, 3.4841)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296128 #602861
analogous
#466128 #296128 #286144
triadic
#296128 #282961 #612829
tetradic
#296128 #284661 #602861 #614428
square
#296128 #284661 #602861 #614428
split-complementary
#296128 #442861 #612846
monochromatic
#091609 #173616 #296128 #3B8C3A #4FB64E

Accessibility & contrast

On white

7.41
#296128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#296128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296128
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296128#FFFFFF#000000##FFFFFF
##2961281.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635823
Deuteranopia (green-blind)
#5C542C
Tritanopia (blue-blind)
#215E54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #296128;
/* rgb */ color: rgb(41, 97, 40);
/* oklch */ color: oklch(44.0% 0.106 143.2);
Tailwind
colors: {
  custom: {
    50: '#698e64',
    500: '#296128',
    950: '#000000',
  },
}
SCSS
$custom: #296128;
$custom-light: #698e64;
$custom-dark: #000000;
JSON
{
  "hex": "#296128",
  "rgb": {
    "r": 41,
    "g": 97,
    "b": 40
  },
  "hsl": {
    "h": 118.947,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44046,
    "c": 0.10619,
    "h": 143.2
  },
  "luminance": 0.09174
}

Semantic roles & 50–950 ramp

primary
#296128
secondary
#935194
accent
#56D1CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #296128

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

Preview Lab → · Contrast checker → · Palette generator →

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