#297318#297318

#297318 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.143 H 140.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#297318
RGBrgb(41, 115, 24)
HSLhsl(109, 65%, 27%)
HSVhsv(109, 79%, 45%)
CMYKcmyk(64.3%, 0%, 79.1%, 54.9%)
CIE-LABlab(42.46, -40.32, 40.69)
CIE-LCHlch(42.46, 57.28, 134.74°)
OKLaboklab(49.07% -0.1105 0.0913)
OKLCHoklch(49.07% 0.143 140.4)
XYZxyz(7.2097, 12.7982, 2.9543)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297318 #621873
analogous
#577318 #297318 #187334
triadic
#297318 #182973 #731829
tetradic
#297318 #185773 #621873 #733418
square
#297318 #185773 #621873 #733418
split-complementary
#297318 #341873 #731857
monochromatic
#091905 #17400D #297318 #3BA623 #50D431

Accessibility & contrast

On white

5.90
#297318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#297318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297318
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297318#FFFFFF#000000##FFFFFF
##2973181.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#1E6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #297318;
/* rgb */ color: rgb(41, 115, 24);
/* oklch */ color: oklch(49.1% 0.143 140.4);
Tailwind
colors: {
  custom: {
    50: '#6d9c5c',
    500: '#297318',
    950: '#000000',
  },
}
SCSS
$custom: #297318;
$custom-light: #6d9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#297318",
  "rgb": {
    "r": 41,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 108.791,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49065,
    "c": 0.14334,
    "h": 140.4
  },
  "luminance": 0.12799
}

Semantic roles & 50–950 ramp

primary
#297318
secondary
#953FA8
accent
#3FE8C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297318

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

Preview Lab → · Contrast checker → · Palette generator →

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