#297E18#297E18

#297E18 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.157 H 140.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#297E18
RGBrgb(41, 126, 24)
HSLhsl(110, 68%, 29%)
HSVhsv(110, 81%, 49%)
CMYKcmyk(67.5%, 0%, 81%, 50.6%)
CIE-LABlab(46.26, -44.40, 44.37)
CIE-LCHlch(46.26, 62.77, 135.02°)
OKLaboklab(52.21% -0.1215 0.099)
OKLCHoklch(52.21% 0.157 140.8)
XYZxyz(8.5397, 15.4582, 3.3977)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297E18 #6D187E
analogous
#5C7E18 #297E18 #187E3A
triadic
#297E18 #18297E #7E1829
tetradic
#297E18 #185C7E #6D187E #7E3A18
square
#297E18 #185C7E #6D187E #7E3A18
split-complementary
#297E18 #3A187E #7E185C
monochromatic
#081A05 #184B0E #297E18 #3AB122 #52D937

Accessibility & contrast

On white

5.13
#297E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#297E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297E18
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297E18#FFFFFF#000000##FFFFFF
##297E181.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#1A7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297e18;
/* rgb */ color: rgb(41, 126, 24);
/* oklch */ color: oklch(52.2% 0.157 140.8);
Tailwind
colors: {
  custom: {
    50: '#70a45e',
    500: '#297e18',
    950: '#000000',
  },
}
SCSS
$custom: #297e18;
$custom-light: #70a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#297e18",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 110,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52209,
    "c": 0.15672,
    "h": 140.8
  },
  "luminance": 0.15459
}

Semantic roles & 50–950 ramp

primary
#297E18
secondary
#9F3FB2
accent
#3DEBCE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297E18

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

Preview Lab → · Contrast checker → · Palette generator →

#297E18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva