#297F1E#297F1E

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

Color values

HEX#297F1E
RGBrgb(41, 127, 30)
HSLhsl(113, 62%, 31%)
HSVhsv(113, 76%, 50%)
CMYKcmyk(67.7%, 0%, 76.4%, 50.2%)
CIE-LABlab(46.64, -44.32, 42.60)
CIE-LCHlch(46.64, 61.47, 136.14°)
OKLaboklab(52.54% -0.121 0.0962)
OKLCHoklch(52.54% 0.155 141.5)
XYZxyz(8.7377, 15.7430, 3.8063)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297F1E #741E7F
analogous
#597F1E #297F1E #1E7F43
triadic
#297F1E #1E297F #7F1E29
tetradic
#297F1E #1E597F #741E7F #7F431E
square
#297F1E #1E597F #741E7F #7F431E
split-complementary
#297F1E #431E7F #7F1E59
monochromatic
#091C07 #194D12 #297F1E #39B12A #55D344

Accessibility & contrast

On white

5.06
#297F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#297F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297F1E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297F1E#FFFFFF#000000##FFFFFF
##297F1E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#187B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297f1e;
/* rgb */ color: rgb(41, 127, 30);
/* oklch */ color: oklch(52.5% 0.155 141.5);
Tailwind
colors: {
  custom: {
    50: '#6fa561',
    500: '#297f1e',
    950: '#000000',
  },
}
SCSS
$custom: #297f1e;
$custom-light: #6fa561;
$custom-dark: #000000;
JSON
{
  "hex": "#297f1e",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 113.196,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.15453,
    "h": 141.5
  },
  "luminance": 0.15744
}

Semantic roles & 50–950 ramp

primary
#297F1E
secondary
#A647B2
accent
#43E5D3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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