#297617#297617

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

Color values

HEX#297617
RGBrgb(41, 118, 23)
HSLhsl(109, 67%, 28%)
HSVhsv(109, 81%, 46%)
CMYKcmyk(65.3%, 0%, 80.5%, 53.7%)
CIE-LABlab(43.49, -41.52, 42.06)
CIE-LCHlch(43.49, 59.10, 134.63°)
OKLaboklab(49.92% -0.1138 0.094)
OKLCHoklch(49.92% 0.148 140.4)
XYZxyz(7.5472, 13.4894, 3.0164)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297617 #641776
analogous
#587617 #297617 #177635
triadic
#297617 #172976 #761729
tetradic
#297617 #175876 #641776 #763517
square
#297617 #175876 #641776 #763517
split-complementary
#297617 #351776 #761758
monochromatic
#091A05 #17430D #297617 #3BA921 #50D731

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297617#FFFFFF#000000##FFFFFF
##2976171.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)
#796B01
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#1D7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #297617;
/* rgb */ color: rgb(41, 118, 23);
/* oklch */ color: oklch(49.9% 0.148 140.4);
Tailwind
colors: {
  custom: {
    50: '#6e9e5c',
    500: '#297617',
    950: '#000000',
  },
}
SCSS
$custom: #297617;
$custom-light: #6e9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#297617",
  "rgb": {
    "r": 41,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 108.632,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49919,
    "c": 0.14761,
    "h": 140.4
  },
  "luminance": 0.1349
}

Semantic roles & 50–950 ramp

primary
#297617
secondary
#963EAB
accent
#3EEACA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #297617

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

Preview Lab → · Contrast checker → · Palette generator →

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