#297941#297941

#297941 is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.3% C 0.117 H 150.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#297941
RGBrgb(41, 121, 65)
HSLhsl(138, 49%, 32%)
HSVhsv(138, 66%, 47%)
CMYKcmyk(66.1%, 0%, 46.3%, 52.5%)
CIE-LABlab(44.98, -37.46, 23.72)
CIE-LCHlch(44.98, 44.34, 147.66°)
OKLaboklab(51.3% -0.1011 0.0583)
OKLCHoklch(51.3% 0.117 150)
XYZxyz(8.7053, 14.5269, 7.3452)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297941 #792961
analogous
#397929 #297941 #297969
triadic
#297941 #412979 #794129
tetradic
#297941 #293979 #792961 #796929
square
#297941 #293979 #792961 #796929
split-complementary
#297941 #692979 #792939
monochromatic
#0A1E10 #1A4B28 #297941 #38A75A #56C678

Accessibility & contrast

On white

5.38
#297941 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#297941 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297941
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297941#FFFFFF#000000##FFFFFF
##2979411.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3D
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#0C776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #297941;
/* rgb */ color: rgb(41, 121, 65);
/* oklch */ color: oklch(51.3% 0.117 150.0);
Tailwind
colors: {
  custom: {
    50: '#6da076',
    500: '#297941',
    950: '#000000',
  },
}
SCSS
$custom: #297941;
$custom-light: #6da076;
$custom-dark: #000000;
JSON
{
  "hex": "#297941",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 138,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51295,
    "c": 0.11673,
    "h": 150
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#297941
secondary
#AB5390
accent
#4FB0D9
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #297941

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

Preview Lab → · Contrast checker → · Palette generator →

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