#297115#297115

#297115 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.143 H 140.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#297115
RGBrgb(41, 113, 21)
HSLhsl(107, 69%, 26%)
HSVhsv(107, 81%, 44%)
CMYKcmyk(63.7%, 0%, 81.4%, 55.7%)
CIE-LABlab(41.74, -39.77, 41.07)
CIE-LCHlch(41.74, 57.17, 134.08°)
OKLaboklab(48.47% -0.1092 0.0916)
OKLCHoklch(48.47% 0.143 140)
XYZxyz(6.9546, 12.3352, 2.7238)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297115 #5D1571
analogous
#577115 #297115 #15712F
triadic
#297115 #152971 #711529
tetradic
#297115 #155771 #5D1571 #712F15
square
#297115 #155771 #5D1571 #712F15
split-complementary
#297115 #2F1571 #711557
monochromatic
#091A05 #163D0B #297115 #3CA51F #4FD729

Accessibility & contrast

On white

6.06
#297115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#297115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297115
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297115#FFFFFF#000000##FFFFFF
##2971151.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6C6020
Tritanopia (blue-blind)
#1F6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #297115;
/* rgb */ color: rgb(41, 113, 21);
/* oklch */ color: oklch(48.5% 0.143 140.0);
Tailwind
colors: {
  custom: {
    50: '#6d9b5a',
    500: '#297115',
    950: '#000000',
  },
}
SCSS
$custom: #297115;
$custom-light: #6d9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#297115",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 106.957,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48469,
    "c": 0.14255,
    "h": 140
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#297115
secondary
#903BA7
accent
#3CEBC5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297115

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

Preview Lab → · Contrast checker → · Palette generator →

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