#297418#297418

#297418 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.145 H 140.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#297418
RGBrgb(41, 116, 24)
HSLhsl(109, 66%, 27%)
HSVhsv(109, 79%, 45%)
CMYKcmyk(64.7%, 0%, 79.3%, 54.5%)
CIE-LABlab(42.80, -40.70, 41.03)
CIE-LCHlch(42.80, 57.79, 134.77°)
OKLaboklab(49.35% -0.1115 0.092)
OKLCHoklch(49.35% 0.145 140.5)
XYZxyz(7.3244, 13.0275, 2.9925)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297418 #631874
analogous
#577418 #297418 #187435
triadic
#297418 #182974 #741829
tetradic
#297418 #185774 #631874 #743518
square
#297418 #185774 #631874 #743518
split-complementary
#297418 #351874 #741857
monochromatic
#091905 #17410E #297418 #3BA722 #50D532

Accessibility & contrast

On white

5.82
#297418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#297418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297418
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297418#FFFFFF#000000##FFFFFF
##2974181.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#6E6322
Tritanopia (blue-blind)
#1E7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #297418;
/* rgb */ color: rgb(41, 116, 24);
/* oklch */ color: oklch(49.4% 0.145 140.5);
Tailwind
colors: {
  custom: {
    50: '#6d9d5c',
    500: '#297418',
    950: '#000000',
  },
}
SCSS
$custom: #297418;
$custom-light: #6d9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#297418",
  "rgb": {
    "r": 41,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 108.913,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49352,
    "c": 0.14458,
    "h": 140.5
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

primary
#297418
secondary
#963FA9
accent
#3FE9C9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #297418

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

Preview Lab → · Contrast checker → · Palette generator →

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