#296231#296231

#296231 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.5% C 0.099 H 146.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#296231
RGBrgb(41, 98, 49)
HSLhsl(128, 41%, 27%)
HSVhsv(128, 58%, 38%)
CMYKcmyk(58.2%, 0%, 50%, 61.6%)
CIE-LABlab(36.80, -30.31, 22.30)
CIE-LCHlch(36.80, 37.63, 143.65°)
OKLaboklab(44.48% -0.0821 0.0544)
OKLCHoklch(44.48% 0.099 146.5)
XYZxyz(5.8362, 9.4280, 4.4174)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296231 #62295A
analogous
#3E6229 #296231 #29624E
triadic
#296231 #312962 #623129
tetradic
#296231 #293E62 #62295A #624E29
square
#296231 #293E62 #62295A #624E29
split-complementary
#296231 #4E2962 #62293E
monochromatic
#09160B #17371B #296231 #3B8D47 #50B65E

Accessibility & contrast

On white

7.28
#296231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#296231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296231
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296231#FFFFFF#000000##FFFFFF
##2962311.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A2D
Deuteranopia (green-blind)
#5C5534
Tritanopia (blue-blind)
#1E6056
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #296231;
/* rgb */ color: rgb(41, 98, 49);
/* oklch */ color: oklch(44.5% 0.099 146.5);
Tailwind
colors: {
  custom: {
    50: '#688f6a',
    500: '#296231',
    950: '#000000',
  },
}
SCSS
$custom: #296231;
$custom-light: #688f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#296231",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 49
  },
  "hsl": {
    "h": 128.421,
    "s": 41.007,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44482,
    "c": 0.09851,
    "h": 146.5
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#296231
secondary
#95528B
accent
#57C0D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #296231

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

Preview Lab → · Contrast checker → · Palette generator →

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