#297945#297945

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

Color values

HEX#297945
RGBrgb(41, 121, 69)
HSLhsl(141, 49%, 32%)
HSVhsv(141, 66%, 47%)
CMYKcmyk(66.1%, 0%, 43%, 52.5%)
CIE-LABlab(45.05, -36.72, 21.57)
CIE-LCHlch(45.05, 42.58, 149.57°)
OKLaboklab(51.37% -0.0992 0.0534)
OKLCHoklch(51.37% 0.113 151.7)
XYZxyz(8.8253, 14.5749, 7.9772)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297945 #79295D
analogous
#357929 #297945 #29796D
triadic
#297945 #452979 #794529
tetradic
#297945 #293579 #79295D #796D29
square
#297945 #293579 #79295D #796D29
split-complementary
#297945 #6D2979 #792935
monochromatic
#0A1E11 #1A4B2B #297945 #38A75F #56C67D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297945#FFFFFF#000000##FFFFFF
##2979451.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)
#796F41
Deuteranopia (green-blind)
#6F6848
Tritanopia (blue-blind)
#08776C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #297945;
/* rgb */ color: rgb(41, 121, 69);
/* oklch */ color: oklch(51.4% 0.113 151.7);
Tailwind
colors: {
  custom: {
    50: '#6ca079',
    500: '#297945',
    950: '#000000',
  },
}
SCSS
$custom: #297945;
$custom-light: #6ca079;
$custom-dark: #000000;
JSON
{
  "hex": "#297945",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 69
  },
  "hsl": {
    "h": 141,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.11267,
    "h": 151.7
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

primary
#297945
secondary
#AB538C
accent
#4FA9D9
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #297945

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

Preview Lab → · Contrast checker → · Palette generator →

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