#297740#297740

#297740 is a mid, moderate green. Relative luminance 0.140; OKLCH L 50.7% C 0.115 H 149.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#297740
RGBrgb(41, 119, 64)
HSLhsl(138, 49%, 31%)
HSVhsv(138, 66%, 47%)
CMYKcmyk(65.5%, 0%, 46.2%, 53.3%)
CIE-LABlab(44.28, -36.80, 23.38)
CIE-LCHlch(44.28, 43.60, 147.57°)
OKLaboklab(50.72% -0.0994 0.0575)
OKLCHoklch(50.72% 0.115 149.9)
XYZxyz(8.4361, 14.0344, 7.1138)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297740 #772960
analogous
#397729 #297740 #297767
triadic
#297740 #402977 #774029
tetradic
#297740 #293977 #772960 #776729
square
#297740 #293977 #772960 #776729
split-complementary
#297740 #672977 #772939
monochromatic
#0A1C0F #194928 #297740 #39A558 #56C576

Accessibility & contrast

On white

5.52
#297740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#297740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297740
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297740#FFFFFF#000000##FFFFFF
##2977401.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#0E756A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #297740;
/* rgb */ color: rgb(41, 119, 64);
/* oklch */ color: oklch(50.7% 0.115 149.9);
Tailwind
colors: {
  custom: {
    50: '#6c9f75',
    500: '#297740',
    950: '#000000',
  },
}
SCSS
$custom: #297740;
$custom-light: #6c9f75;
$custom-dark: #000000;
JSON
{
  "hex": "#297740",
  "rgb": {
    "r": 41,
    "g": 119,
    "b": 64
  },
  "hsl": {
    "h": 137.692,
    "s": 48.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50716,
    "c": 0.11481,
    "h": 149.9
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#297740
secondary
#A95390
accent
#4FB0D8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #297740

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

Preview Lab → · Contrast checker → · Palette generator →

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