#297645#297645

#297645 is a mid, moderate green. Relative luminance 0.139; OKLCH L 50.5% C 0.108 H 152.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#297645
RGBrgb(41, 118, 69)
HSLhsl(142, 48%, 31%)
HSVhsv(142, 65%, 46%)
CMYKcmyk(65.3%, 0%, 41.5%, 53.7%)
CIE-LABlab(44.03, -35.44, 20.23)
CIE-LCHlch(44.03, 40.80, 150.28°)
OKLaboklab(50.53% -0.0958 0.0503)
OKLCHoklch(50.53% 0.108 152.3)
XYZxyz(8.4664, 13.8571, 7.8576)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297645 #76295A
analogous
#337629 #297645 #29766B
triadic
#297645 #452976 #764529
tetradic
#297645 #293376 #76295A #766B29
square
#297645 #293376 #76295A #766B29
split-complementary
#297645 #6B2976 #762933
monochromatic
#091B10 #19492A #297645 #39A360 #55C47E

Accessibility & contrast

On white

5.57
#297645 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#297645 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297645
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297645#FFFFFF#000000##FFFFFF
##2976451.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C42
Deuteranopia (green-blind)
#6C6548
Tritanopia (blue-blind)
#0B746A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #297645;
/* rgb */ color: rgb(41, 118, 69);
/* oklch */ color: oklch(50.5% 0.108 152.3);
Tailwind
colors: {
  custom: {
    50: '#6c9e79',
    500: '#297645',
    950: '#000000',
  },
}
SCSS
$custom: #297645;
$custom-light: #6c9e79;
$custom-dark: #000000;
JSON
{
  "hex": "#297645",
  "rgb": {
    "r": 41,
    "g": 118,
    "b": 69
  },
  "hsl": {
    "h": 141.818,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50534,
    "c": 0.10822,
    "h": 152.3
  },
  "luminance": 0.13858
}

Semantic roles & 50–950 ramp

primary
#297645
secondary
#A85389
accent
#50A6D8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #297645

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

Preview Lab → · Contrast checker → · Palette generator →

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