#296227#296227

#296227 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.3% C 0.109 H 142.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#296227
RGBrgb(41, 98, 39)
HSLhsl(118, 43%, 27%)
HSVhsv(118, 60%, 38%)
CMYKcmyk(58.2%, 0%, 60.2%, 61.6%)
CIE-LABlab(36.65, -31.85, 27.64)
CIE-LCHlch(36.65, 42.17, 139.05°)
OKLaboklab(44.32% -0.0867 0.0656)
OKLCHoklch(44.32% 0.109 142.9)
XYZxyz(5.6480, 9.3528, 3.4267)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296227 #602762
analogous
#476227 #296227 #276243
triadic
#296227 #272962 #622729
tetradic
#296227 #274762 #602762 #624327
square
#296227 #274762 #602762 #624327
split-complementary
#296227 #432762 #622747
monochromatic
#091609 #173616 #296227 #3B8E38 #4FB84C

Accessibility & contrast

On white

7.32
#296227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#296227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296227
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296227#FFFFFF#000000##FFFFFF
##2962271.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645921
Deuteranopia (green-blind)
#5D542B
Tritanopia (blue-blind)
#215F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #296227;
/* rgb */ color: rgb(41, 98, 39);
/* oklch */ color: oklch(44.3% 0.109 142.9);
Tailwind
colors: {
  custom: {
    50: '#698f63',
    500: '#296227',
    950: '#000000',
  },
}
SCSS
$custom: #296227;
$custom-light: #698f63;
$custom-dark: #000000;
JSON
{
  "hex": "#296227",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 117.966,
    "s": 43.066,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44321,
    "c": 0.10866,
    "h": 142.9
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#296227
secondary
#935095
accent
#55D3CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #296227

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

Preview Lab → · Contrast checker → · Palette generator →

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