#297340#297340

#297340 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.6% C 0.109 H 150.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#297340
RGBrgb(41, 115, 64)
HSLhsl(139, 47%, 31%)
HSVhsv(139, 64%, 45%)
CMYKcmyk(64.3%, 0%, 44.3%, 54.9%)
CIE-LABlab(42.92, -35.10, 21.62)
CIE-LCHlch(42.92, 41.23, 148.37°)
OKLaboklab(49.59% -0.0949 0.0534)
OKLCHoklch(49.59% 0.109 150.6)
XYZxyz(7.9700, 13.1023, 6.9585)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297340 #73295C
analogous
#377329 #297340 #297365
triadic
#297340 #402973 #734029
tetradic
#297340 #293773 #73295C #736529
square
#297340 #293773 #73295C #736529
split-complementary
#297340 #652973 #732937
monochromatic
#09190E #194627 #297340 #39A059 #54C276

Accessibility & contrast

On white

5.80
#297340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#297340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297340
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297340#FFFFFF#000000##FFFFFF
##2973401.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74693C
Deuteranopia (green-blind)
#6A6343
Tritanopia (blue-blind)
#117166
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #297340;
/* rgb */ color: rgb(41, 115, 64);
/* oklch */ color: oklch(49.6% 0.109 150.6);
Tailwind
colors: {
  custom: {
    50: '#6b9c75',
    500: '#297340',
    950: '#000000',
  },
}
SCSS
$custom: #297340;
$custom-light: #6b9c75;
$custom-dark: #000000;
JSON
{
  "hex": "#297340",
  "rgb": {
    "r": 41,
    "g": 115,
    "b": 64
  },
  "hsl": {
    "h": 138.649,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49592,
    "c": 0.10887,
    "h": 150.6
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#297340
secondary
#A5538B
accent
#51ADD7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #297340

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

Preview Lab → · Contrast checker → · Palette generator →

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