#297F1D#297F1D

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

Color values

HEX#297F1D
RGBrgb(41, 127, 29)
HSLhsl(113, 63%, 31%)
HSVhsv(113, 77%, 50%)
CMYKcmyk(67.7%, 0%, 77.2%, 50.2%)
CIE-LABlab(46.63, -44.40, 42.97)
CIE-LCHlch(46.63, 61.79, 135.94°)
OKLaboklab(52.53% -0.1212 0.0968)
OKLCHoklch(52.53% 0.155 141.4)
XYZxyz(8.7251, 15.7380, 3.7401)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297F1D #731D7F
analogous
#5A7F1D #297F1D #1D7F42
triadic
#297F1D #1D297F #7F1D29
tetradic
#297F1D #1D5A7F #731D7F #7F421D
square
#297F1D #1D5A7F #731D7F #7F421D
split-complementary
#297F1D #421D7F #7F1D5A
monochromatic
#091B06 #194D12 #297F1D #39B128 #54D442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297F1D#FFFFFF#000000##FFFFFF
##297F1D1.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)
#827309
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#187B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297f1d;
/* rgb */ color: rgb(41, 127, 29);
/* oklch */ color: oklch(52.5% 0.155 141.4);
Tailwind
colors: {
  custom: {
    50: '#70a560',
    500: '#297f1d',
    950: '#000000',
  },
}
SCSS
$custom: #297f1d;
$custom-light: #70a560;
$custom-dark: #000000;
JSON
{
  "hex": "#297f1d",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 112.653,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52528,
    "c": 0.15514,
    "h": 141.4
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#297F1D
secondary
#A545B2
accent
#42E6D2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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