#297018#297018

#297018 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.140 H 140.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#297018
RGBrgb(41, 112, 24)
HSLhsl(108, 65%, 27%)
HSVhsv(108, 79%, 44%)
CMYKcmyk(63.4%, 0%, 78.6%, 56.1%)
CIE-LABlab(41.41, -39.17, 39.66)
CIE-LCHlch(41.41, 55.74, 134.64°)
OKLaboklab(48.2% -0.1074 0.0892)
OKLCHoklch(48.2% 0.14 140.3)
XYZxyz(6.8732, 12.1251, 2.8421)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297018 #5F1870
analogous
#557018 #297018 #187033
triadic
#297018 #182970 #701829
tetradic
#297018 #185570 #5F1870 #703318
square
#297018 #185570 #5F1870 #703318
split-complementary
#297018 #331870 #701855
monochromatic
#091905 #173E0D #297018 #3BA223 #4FD330

Accessibility & contrast

On white

6.13
#297018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#297018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297018
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297018#FFFFFF#000000##FFFFFF
##2970181.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#1F6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #297018;
/* rgb */ color: rgb(41, 112, 24);
/* oklch */ color: oklch(48.2% 0.140 140.3);
Tailwind
colors: {
  custom: {
    50: '#6d9a5c',
    500: '#297018',
    950: '#000000',
  },
}
SCSS
$custom: #297018;
$custom-light: #6d9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#297018",
  "rgb": {
    "r": 41,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 108.409,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48202,
    "c": 0.13958,
    "h": 140.3
  },
  "luminance": 0.12126
}

Semantic roles & 50–950 ramp

primary
#297018
secondary
#923EA5
accent
#40E8C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297018

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

Preview Lab → · Contrast checker → · Palette generator →

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