#297B18#297B18

#297B18 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.153 H 140.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#297B18
RGBrgb(41, 123, 24)
HSLhsl(110, 67%, 29%)
HSVhsv(110, 80%, 48%)
CMYKcmyk(66.7%, 0%, 80.5%, 51.8%)
CIE-LABlab(45.22, -43.31, 43.38)
CIE-LCHlch(45.22, 61.30, 134.95°)
OKLaboklab(51.36% -0.1185 0.0969)
OKLCHoklch(51.36% 0.153 140.7)
XYZxyz(8.1619, 14.7025, 3.2717)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297B18 #6A187B
analogous
#5B7B18 #297B18 #187B39
triadic
#297B18 #18297B #7B1829
tetradic
#297B18 #185B7B #6A187B #7B3918
square
#297B18 #185B7B #6A187B #7B3918
split-complementary
#297B18 #39187B #7B185B
monochromatic
#091A05 #18480E #297B18 #3AAE22 #52D836

Accessibility & contrast

On white

5.33
#297B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#297B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297B18
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297B18#FFFFFF#000000##FFFFFF
##297B181.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#1B7768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #297b18;
/* rgb */ color: rgb(41, 123, 24);
/* oklch */ color: oklch(51.4% 0.153 140.7);
Tailwind
colors: {
  custom: {
    50: '#6fa25d',
    500: '#297b18',
    950: '#000000',
  },
}
SCSS
$custom: #297b18;
$custom-light: #6fa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#297b18",
  "rgb": {
    "r": 41,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 109.697,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51355,
    "c": 0.15313,
    "h": 140.7
  },
  "luminance": 0.14703
}

Semantic roles & 50–950 ramp

primary
#297B18
secondary
#9C3FB0
accent
#3EEACD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297B18

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

Preview Lab → · Contrast checker → · Palette generator →

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