#297939#297939

#297939 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.125 H 147.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#297939
RGBrgb(41, 121, 57)
HSLhsl(132, 49%, 32%)
HSVhsv(132, 66%, 47%)
CMYKcmyk(66.1%, 0%, 52.9%, 52.5%)
CIE-LABlab(44.86, -38.81, 27.94)
CIE-LCHlch(44.86, 47.83, 144.25°)
OKLaboklab(51.16% -0.1048 0.0675)
OKLCHoklch(51.16% 0.125 147.2)
XYZxyz(8.4898, 14.4407, 6.2100)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297939 #792969
analogous
#417929 #297939 #297961
triadic
#297939 #392979 #793929
tetradic
#297939 #294179 #792969 #796129
square
#297939 #294179 #792969 #796129
split-complementary
#297939 #612979 #792941
monochromatic
#0A1E0E #1A4B23 #297939 #38A74F #56C66D

Accessibility & contrast

On white

5.40
#297939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#297939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297939
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297939#FFFFFF#000000##FFFFFF
##2979391.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E34
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#12766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #297939;
/* rgb */ color: rgb(41, 121, 57);
/* oklch */ color: oklch(51.2% 0.125 147.2);
Tailwind
colors: {
  custom: {
    50: '#6da071',
    500: '#297939',
    950: '#000000',
  },
}
SCSS
$custom: #297939;
$custom-light: #6da071;
$custom-dark: #000000;
JSON
{
  "hex": "#297939",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 132,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.12468,
    "h": 147.2
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#297939
secondary
#AB5399
accent
#4FBDD9
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #297939

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

Preview Lab → · Contrast checker → · Palette generator →

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