#297239#297239

#297239 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.115 H 147.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#297239
RGBrgb(41, 114, 57)
HSLhsl(133, 47%, 30%)
HSVhsv(133, 64%, 45%)
CMYKcmyk(64%, 0%, 50%, 55.3%)
CIE-LABlab(42.46, -35.92, 24.96)
CIE-LCHlch(42.46, 43.74, 145.21°)
OKLaboklab(49.18% -0.0971 0.0608)
OKLCHoklch(49.18% 0.115 147.9)
XYZxyz(7.6698, 12.8007, 5.9367)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297239 #722962
analogous
#3D7229 #297239 #29725D
triadic
#297239 #392972 #723929
tetradic
#297239 #293D72 #722962 #725D29
square
#297239 #293D72 #722962 #725D29
split-complementary
#297239 #5D2972 #72293D
monochromatic
#09180C #194522 #297239 #399F50 #54C16C

Accessibility & contrast

On white

5.90
#297239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#297239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297239
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297239#FFFFFF#000000##FFFFFF
##2972391.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736834
Deuteranopia (green-blind)
#6A623D
Tritanopia (blue-blind)
#157065
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #297239;
/* rgb */ color: rgb(41, 114, 57);
/* oklch */ color: oklch(49.2% 0.115 147.9);
Tailwind
colors: {
  custom: {
    50: '#6b9b70',
    500: '#297239',
    950: '#000000',
  },
}
SCSS
$custom: #297239;
$custom-light: #6b9b70;
$custom-dark: #000000;
JSON
{
  "hex": "#297239",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 133.151,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49181,
    "c": 0.11453,
    "h": 147.9
  },
  "luminance": 0.12801
}

Semantic roles & 50–950 ramp

primary
#297239
secondary
#A45392
accent
#51B9D7
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #297239

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

Preview Lab → · Contrast checker → · Palette generator →

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