#297748#297748

#297748 is a mid, moderate green. Relative luminance 0.141; OKLCH L 50.9% C 0.107 H 153.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#297748
RGBrgb(41, 119, 72)
HSLhsl(144, 49%, 31%)
HSVhsv(144, 66%, 47%)
CMYKcmyk(65.5%, 0%, 39.5%, 53.3%)
CIE-LABlab(44.42, -35.27, 19.04)
CIE-LCHlch(44.42, 40.08, 151.65°)
OKLaboklab(50.88% -0.0955 0.0476)
OKLCHoklch(50.88% 0.107 153.5)
XYZxyz(8.6803, 14.1321, 8.3999)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297748 #772958
analogous
#317729 #297748 #29776F
triadic
#297748 #482977 #774829
tetradic
#297748 #293177 #772958 #776F29
square
#297748 #293177 #772958 #776F29
split-complementary
#297748 #6F2977 #772931
monochromatic
#0A1C11 #19492C #297748 #39A564 #56C582

Accessibility & contrast

On white

5.49
#297748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#297748 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297748
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297748#FFFFFF#000000##FFFFFF
##2977481.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D45
Deuteranopia (green-blind)
#6D664B
Tritanopia (blue-blind)
#07766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #297748;
/* rgb */ color: rgb(41, 119, 72);
/* oklch */ color: oklch(50.9% 0.107 153.5);
Tailwind
colors: {
  custom: {
    50: '#6c9f7b',
    500: '#297748',
    950: '#000000',
  },
}
SCSS
$custom: #297748;
$custom-light: #6c9f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#297748",
  "rgb": {
    "r": 41,
    "g": 119,
    "b": 72
  },
  "hsl": {
    "h": 143.846,
    "s": 48.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50876,
    "c": 0.10665,
    "h": 153.5
  },
  "luminance": 0.14133
}

Semantic roles & 50–950 ramp

primary
#297748
secondary
#A95387
accent
#4FA2D8
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #297748

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

Preview Lab → · Contrast checker → · Palette generator →

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