#296331#296331

#296331 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.100 H 146.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#296331
RGBrgb(41, 99, 49)
HSLhsl(128, 41%, 27%)
HSVhsv(128, 59%, 39%)
CMYKcmyk(58.6%, 0%, 50.5%, 61.2%)
CIE-LABlab(37.14, -30.76, 22.74)
CIE-LCHlch(37.14, 38.26, 143.52°)
OKLaboklab(44.77% -0.0833 0.0554)
OKLCHoklch(44.77% 0.1 146.4)
XYZxyz(5.9303, 9.6163, 4.4488)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296331 #63295B
analogous
#3E6329 #296331 #29634E
triadic
#296331 #312963 #633129
tetradic
#296331 #293E63 #63295B #634E29
square
#296331 #293E63 #63295B #634E29
split-complementary
#296331 #4E2963 #63293E
monochromatic
#09160B #17381C #296331 #3B8E46 #50B65E

Accessibility & contrast

On white

7.18
#296331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#296331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296331
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296331#FFFFFF#000000##FFFFFF
##2963311.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B2D
Deuteranopia (green-blind)
#5D5534
Tritanopia (blue-blind)
#1E6157
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #296331;
/* rgb */ color: rgb(41, 99, 49);
/* oklch */ color: oklch(44.8% 0.100 146.4);
Tailwind
colors: {
  custom: {
    50: '#69906a',
    500: '#296331',
    950: '#000000',
  },
}
SCSS
$custom: #296331;
$custom-light: #69906a;
$custom-dark: #000000;
JSON
{
  "hex": "#296331",
  "rgb": {
    "r": 41,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 128.276,
    "s": 41.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.44769,
    "c": 0.10007,
    "h": 146.4
  },
  "luminance": 0.09617
}

Semantic roles & 50–950 ramp

primary
#296331
secondary
#96528C
accent
#57C0D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #296331

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

Preview Lab → · Contrast checker → · Palette generator →

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