#297641#297641

#297641 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.5% C 0.112 H 150.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#297641
RGBrgb(41, 118, 65)
HSLhsl(139, 48%, 31%)
HSVhsv(139, 65%, 46%)
CMYKcmyk(65.3%, 0%, 44.9%, 53.7%)
CIE-LABlab(43.96, -36.20, 22.40)
CIE-LCHlch(43.96, 42.57, 148.25°)
OKLaboklab(50.45% -0.0978 0.0553)
OKLCHoklch(50.45% 0.112 150.5)
XYZxyz(8.3464, 13.8091, 7.2256)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297641 #76295E
analogous
#377629 #297641 #297667
triadic
#297641 #412976 #764129
tetradic
#297641 #293776 #76295E #766729
square
#297641 #293776 #76295E #766729
split-complementary
#297641 #672976 #762937
monochromatic
#091B0F #194928 #297641 #39A35A #55C478

Accessibility & contrast

On white

5.58
#297641 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#297641 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297641
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297641#FFFFFF#000000##FFFFFF
##2976411.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776C3D
Deuteranopia (green-blind)
#6D6545
Tritanopia (blue-blind)
#0E7469
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #297641;
/* rgb */ color: rgb(41, 118, 65);
/* oklch */ color: oklch(50.5% 0.112 150.5);
Tailwind
colors: {
  custom: {
    50: '#6c9e76',
    500: '#297641',
    950: '#000000',
  },
}
SCSS
$custom: #297641;
$custom-light: #6c9e76;
$custom-dark: #000000;
JSON
{
  "hex": "#297641",
  "rgb": {
    "r": 41,
    "g": 118,
    "b": 65
  },
  "hsl": {
    "h": 138.701,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.11231,
    "h": 150.5
  },
  "luminance": 0.1381
}

Semantic roles & 50–950 ramp

primary
#297641
secondary
#A8538D
accent
#50AED8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #297641

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

Preview Lab → · Contrast checker → · Palette generator →

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