#296127#296127

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

Color values

HEX#296127
RGBrgb(41, 97, 39)
HSLhsl(118, 43%, 27%)
HSVhsv(118, 60%, 38%)
CMYKcmyk(57.7%, 0%, 59.8%, 62%)
CIE-LABlab(36.30, -31.41, 27.22)
CIE-LCHlch(36.30, 41.56, 139.08°)
OKLaboklab(44.03% -0.0855 0.0647)
OKLCHoklch(44.03% 0.107 142.9)
XYZxyz(5.5551, 9.1668, 3.3957)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296127 #5F2761
analogous
#466127 #296127 #276142
triadic
#296127 #272961 #612729
tetradic
#296127 #274661 #5F2761 #614227
square
#296127 #274661 #5F2761 #614227
split-complementary
#296127 #422761 #612746
monochromatic
#091609 #173515 #296127 #3B8D39 #4FB74C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##296127#FFFFFF#000000##FFFFFF
##2961271.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)
#635821
Deuteranopia (green-blind)
#5C532B
Tritanopia (blue-blind)
#215E54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #296127;
/* rgb */ color: rgb(41, 97, 39);
/* oklch */ color: oklch(44.0% 0.107 142.9);
Tailwind
colors: {
  custom: {
    50: '#698e63',
    500: '#296127',
    950: '#000000',
  },
}
SCSS
$custom: #296127;
$custom-light: #698e63;
$custom-dark: #000000;
JSON
{
  "hex": "#296127",
  "rgb": {
    "r": 41,
    "g": 97,
    "b": 39
  },
  "hsl": {
    "h": 117.931,
    "s": 42.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.44032,
    "c": 0.10717,
    "h": 142.9
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#296127
secondary
#925094
accent
#55D2CE
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #296127

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

Preview Lab → · Contrast checker → · Palette generator →

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