#297615#297615

#297615 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.149 H 140.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#297615
RGBrgb(41, 118, 21)
HSLhsl(108, 70%, 27%)
HSVhsv(108, 82%, 46%)
CMYKcmyk(65.3%, 0%, 82.2%, 53.7%)
CIE-LABlab(43.48, -41.66, 42.72)
CIE-LCHlch(43.48, 59.67, 134.28°)
OKLaboklab(49.91% -0.1143 0.0951)
OKLCHoklch(49.91% 0.149 140.2)
XYZxyz(7.5279, 13.4817, 2.9148)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297615 #621576
analogous
#5A7615 #297615 #157632
triadic
#297615 #152976 #761529
tetradic
#297615 #155A76 #621576 #763215
square
#297615 #155A76 #621576 #763215
split-complementary
#297615 #321576 #76155A
monochromatic
#091A05 #17420C #297615 #3BAA1E #50D92C

Accessibility & contrast

On white

5.68
#297615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#297615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297615
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297615#FFFFFF#000000##FFFFFF
##2976151.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#1D7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #297615;
/* rgb */ color: rgb(41, 118, 21);
/* oklch */ color: oklch(49.9% 0.149 140.2);
Tailwind
colors: {
  custom: {
    50: '#6e9e5b',
    500: '#297615',
    950: '#000000',
  },
}
SCSS
$custom: #297615;
$custom-light: #6e9e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#297615",
  "rgb": {
    "r": 41,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 107.629,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.14867,
    "h": 140.2
  },
  "luminance": 0.13482
}

Semantic roles & 50–950 ramp

primary
#297615
secondary
#953BAC
accent
#3BEDC8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #297615

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

Preview Lab → · Contrast checker → · Palette generator →

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