#297715#297715

#297715 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.150 H 140.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#297715
RGBrgb(41, 119, 21)
HSLhsl(108, 70%, 27%)
HSVhsv(108, 82%, 47%)
CMYKcmyk(65.5%, 0%, 82.4%, 53.3%)
CIE-LABlab(43.83, -42.03, 43.05)
CIE-LCHlch(43.83, 60.16, 134.31°)
OKLaboklab(50.19% -0.1153 0.0958)
OKLCHoklch(50.19% 0.15 140.3)
XYZxyz(7.6463, 13.7185, 2.9543)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297715 #631577
analogous
#5A7715 #297715 #157732
triadic
#297715 #152977 #771529
tetradic
#297715 #155A77 #631577 #773215
square
#297715 #155A77 #631577 #773215
split-complementary
#297715 #321577 #77155A
monochromatic
#091A05 #17430C #297715 #3BAB1E #50DA2D

Accessibility & contrast

On white

5.61
#297715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#297715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297715
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297715#FFFFFF#000000##FFFFFF
##2977151.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#1D7365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #297715;
/* rgb */ color: rgb(41, 119, 21);
/* oklch */ color: oklch(50.2% 0.150 140.3);
Tailwind
colors: {
  custom: {
    50: '#6e9f5b',
    500: '#297715',
    950: '#000000',
  },
}
SCSS
$custom: #297715;
$custom-light: #6e9f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#297715",
  "rgb": {
    "r": 41,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 107.755,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50192,
    "c": 0.14987,
    "h": 140.3
  },
  "luminance": 0.13719
}

Semantic roles & 50–950 ramp

primary
#297715
secondary
#963BAD
accent
#3BEDC9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #297715

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

Preview Lab → · Contrast checker → · Palette generator →

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