#297242#297242

#297242 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.105 H 151.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#297242
RGBrgb(41, 114, 66)
HSLhsl(141, 47%, 30%)
HSVhsv(141, 64%, 45%)
CMYKcmyk(64%, 0%, 42.1%, 55.3%)
CIE-LABlab(42.61, -34.29, 20.08)
CIE-LCHlch(42.61, 39.74, 149.65°)
OKLaboklab(49.35% -0.0927 0.0499)
OKLCHoklch(49.35% 0.105 151.7)
XYZxyz(7.9145, 12.8986, 7.2258)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297242 #722959
analogous
#347229 #297242 #297266
triadic
#297242 #422972 #724229
tetradic
#297242 #293472 #722959 #726629
square
#297242 #293472 #722959 #726629
split-complementary
#297242 #662972 #722934
monochromatic
#09180E #194528 #297242 #399F5C #54C179

Accessibility & contrast

On white

5.87
#297242 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#297242 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297242
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297242#FFFFFF#000000##FFFFFF
##2972421.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72693F
Deuteranopia (green-blind)
#696245
Tritanopia (blue-blind)
#107066
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #297242;
/* rgb */ color: rgb(41, 114, 66);
/* oklch */ color: oklch(49.4% 0.105 151.7);
Tailwind
colors: {
  custom: {
    50: '#6b9b77',
    500: '#297242',
    950: '#000000',
  },
}
SCSS
$custom: #297242;
$custom-light: #6b9b77;
$custom-dark: #000000;
JSON
{
  "hex": "#297242",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 66
  },
  "hsl": {
    "h": 140.548,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49352,
    "c": 0.10529,
    "h": 151.7
  },
  "luminance": 0.12899
}

Semantic roles & 50–950 ramp

primary
#297242
secondary
#A45388
accent
#51A9D7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #297242

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

Preview Lab → · Contrast checker → · Palette generator →

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