#297947#297947

#297947 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.111 H 152.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#297947
RGBrgb(41, 121, 71)
HSLhsl(143, 49%, 32%)
HSVhsv(143, 66%, 47%)
CMYKcmyk(66.1%, 0%, 41.3%, 52.5%)
CIE-LABlab(45.08, -36.33, 20.48)
CIE-LCHlch(45.08, 41.71, 150.59°)
OKLaboklab(51.41% -0.0982 0.051)
OKLCHoklch(51.41% 0.111 152.6)
XYZxyz(8.8884, 14.6002, 8.3097)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297947 #79295B
analogous
#337929 #297947 #29796F
triadic
#297947 #472979 #794729
tetradic
#297947 #293379 #79295B #796F29
square
#297947 #293379 #79295B #796F29
split-complementary
#297947 #6F2979 #792933
monochromatic
#0A1E11 #1A4B2C #297947 #38A762 #56C680

Accessibility & contrast

On white

5.36
#297947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#297947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297947
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297947#FFFFFF#000000##FFFFFF
##2979471.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F44
Deuteranopia (green-blind)
#6F684A
Tritanopia (blue-blind)
#06776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #297947;
/* rgb */ color: rgb(41, 121, 71);
/* oklch */ color: oklch(51.4% 0.111 152.6);
Tailwind
colors: {
  custom: {
    50: '#6ca07a',
    500: '#297947',
    950: '#000000',
  },
}
SCSS
$custom: #297947;
$custom-light: #6ca07a;
$custom-dark: #000000;
JSON
{
  "hex": "#297947",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 71
  },
  "hsl": {
    "h": 142.5,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51413,
    "c": 0.11064,
    "h": 152.6
  },
  "luminance": 0.14601
}

Semantic roles & 50–950 ramp

primary
#297947
secondary
#AB538A
accent
#4FA5D9
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #297947

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

Preview Lab → · Contrast checker → · Palette generator →

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