#297948#297948

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

Color values

HEX#297948
RGBrgb(41, 121, 72)
HSLhsl(143, 49%, 32%)
HSVhsv(143, 66%, 47%)
CMYKcmyk(66.1%, 0%, 40.5%, 52.5%)
CIE-LABlab(45.10, -36.13, 19.93)
CIE-LCHlch(45.10, 41.27, 151.12°)
OKLaboklab(51.43% -0.0977 0.0497)
OKLCHoklch(51.43% 0.11 153.1)
XYZxyz(8.9208, 14.6131, 8.4801)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297948 #79295A
analogous
#327929 #297948 #297970
triadic
#297948 #482979 #794829
tetradic
#297948 #293279 #79295A #797029
square
#297948 #293279 #79295A #797029
split-complementary
#297948 #702979 #792932
monochromatic
#0A1E12 #1A4B2D #297948 #38A763 #56C682

Accessibility & contrast

On white

5.35
#297948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #297948
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297948#FFFFFF#000000##FFFFFF
##2979481.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F45
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#05776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #297948;
/* rgb */ color: rgb(41, 121, 72);
/* oklch */ color: oklch(51.4% 0.110 153.1);
Tailwind
colors: {
  custom: {
    50: '#6ca07b',
    500: '#297948',
    950: '#000000',
  },
}
SCSS
$custom: #297948;
$custom-light: #6ca07b;
$custom-dark: #000000;
JSON
{
  "hex": "#297948",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 143.25,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51433,
    "c": 0.10962,
    "h": 153.1
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#297948
secondary
#AB5389
accent
#4FA3D9
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #297948

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

Preview Lab → · Contrast checker → · Palette generator →

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