#297D18#297D18

#297D18 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.156 H 140.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#297D18
RGBrgb(41, 125, 24)
HSLhsl(110, 68%, 29%)
HSVhsv(110, 81%, 49%)
CMYKcmyk(67.2%, 0%, 80.8%, 51%)
CIE-LABlab(45.91, -44.04, 44.04)
CIE-LCHlch(45.91, 62.28, 135.00°)
OKLaboklab(51.93% -0.1205 0.0983)
OKLCHoklch(51.93% 0.156 140.8)
XYZxyz(8.4125, 15.2038, 3.3553)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D18 #6C187D
analogous
#5C7D18 #297D18 #187D3A
triadic
#297D18 #18297D #7D1829
tetradic
#297D18 #185C7D #6C187D #7D3A18
square
#297D18 #185C7D #6C187D #7D3A18
split-complementary
#297D18 #3A187D #7D185C
monochromatic
#081A05 #184A0E #297D18 #3AB022 #52D937

Accessibility & contrast

On white

5.20
#297D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#297D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297D18
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D18#FFFFFF#000000##FFFFFF
##297D181.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#1A796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297d18;
/* rgb */ color: rgb(41, 125, 24);
/* oklch */ color: oklch(51.9% 0.156 140.8);
Tailwind
colors: {
  custom: {
    50: '#6fa35e',
    500: '#297d18',
    950: '#000000',
  },
}
SCSS
$custom: #297d18;
$custom-light: #6fa35e;
$custom-dark: #000000;
JSON
{
  "hex": "#297d18",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 109.901,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51925,
    "c": 0.15552,
    "h": 140.8
  },
  "luminance": 0.15205
}

Semantic roles & 50–950 ramp

primary
#297D18
secondary
#9E3FB2
accent
#3DEBCD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297D18

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

Preview Lab → · Contrast checker → · Palette generator →

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