#296229#296229

#296229 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.107 H 143.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#296229
RGBrgb(41, 98, 41)
HSLhsl(120, 41%, 27%)
HSVhsv(120, 58%, 38%)
CMYKcmyk(58.2%, 0%, 58.2%, 61.6%)
CIE-LABlab(36.68, -31.56, 26.60)
CIE-LCHlch(36.68, 41.28, 139.88°)
OKLaboklab(44.35% -0.0858 0.0635)
OKLCHoklch(44.35% 0.107 143.5)
XYZxyz(5.6821, 9.3664, 3.6059)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296229 #622962
analogous
#466229 #296229 #296246
triadic
#296229 #292962 #622929
tetradic
#296229 #294662 #622962 #624629
square
#296229 #294662 #622962 #624629
split-complementary
#296229 #462962 #622946
monochromatic
#091609 #173717 #296229 #3B8D3B #50B650

Accessibility & contrast

On white

7.31
#296229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #296229
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296229#FFFFFF#000000##FFFFFF
##2962291.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645924
Deuteranopia (green-blind)
#5C542D
Tritanopia (blue-blind)
#205F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #296229;
/* rgb */ color: rgb(41, 98, 41);
/* oklch */ color: oklch(44.4% 0.107 143.5);
Tailwind
colors: {
  custom: {
    50: '#698f64',
    500: '#296229',
    950: '#000000',
  },
}
SCSS
$custom: #296229;
$custom-light: #698f64;
$custom-dark: #000000;
JSON
{
  "hex": "#296229",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 41
  },
  "hsl": {
    "h": 120,
    "s": 41.007,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4435,
    "c": 0.10672,
    "h": 143.5
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#296229
secondary
#955295
accent
#57D1D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #296229

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

Preview Lab → · Contrast checker → · Palette generator →

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