#297342#297342

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

Color values

HEX#297342
RGBrgb(41, 115, 66)
HSLhsl(140, 47%, 31%)
HSVhsv(140, 64%, 45%)
CMYKcmyk(64.3%, 0%, 42.6%, 54.9%)
CIE-LABlab(42.95, -34.72, 20.53)
CIE-LCHlch(42.95, 40.34, 149.41°)
OKLaboklab(49.63% -0.0939 0.0509)
OKLCHoklch(49.63% 0.107 151.5)
XYZxyz(8.0279, 13.1254, 7.2636)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297342 #73295A
analogous
#357329 #297342 #297367
triadic
#297342 #422973 #734229
tetradic
#297342 #293573 #73295A #736729
square
#297342 #293573 #73295A #736729
split-complementary
#297342 #672973 #732935
monochromatic
#09190E #194628 #297342 #39A05C #54C279

Accessibility & contrast

On white

5.79
#297342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#297342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297342
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297342#FFFFFF#000000##FFFFFF
##2973421.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736A3F
Deuteranopia (green-blind)
#6A6345
Tritanopia (blue-blind)
#0F7167
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #297342;
/* rgb */ color: rgb(41, 115, 66);
/* oklch */ color: oklch(49.6% 0.107 151.5);
Tailwind
colors: {
  custom: {
    50: '#6b9c77',
    500: '#297342',
    950: '#000000',
  },
}
SCSS
$custom: #297342;
$custom-light: #6b9c77;
$custom-dark: #000000;
JSON
{
  "hex": "#297342",
  "rgb": {
    "r": 41,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 140.27,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49632,
    "c": 0.10681,
    "h": 151.5
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#297342
secondary
#A55389
accent
#51AAD7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #297342

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

Preview Lab → · Contrast checker → · Palette generator →

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