#297E1D#297E1D

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

Color values

HEX#297E1D
RGBrgb(41, 126, 29)
HSLhsl(113, 63%, 30%)
HSVhsv(113, 77%, 49%)
CMYKcmyk(67.5%, 0%, 77%, 50.6%)
CIE-LABlab(46.29, -44.03, 42.63)
CIE-LCHlch(46.29, 61.29, 135.93°)
OKLaboklab(52.24% -0.1202 0.0961)
OKLCHoklch(52.24% 0.154 141.4)
XYZxyz(8.5966, 15.4810, 3.6972)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297E1D #721D7E
analogous
#5A7E1D #297E1D #1D7E41
triadic
#297E1D #1D297E #7E1D29
tetradic
#297E1D #1D5A7E #721D7E #7E411D
square
#297E1D #1D5A7E #721D7E #7E411D
split-complementary
#297E1D #411D7E #7E1D5A
monochromatic
#091B06 #194C12 #297E1D #39B028 #54D342

Accessibility & contrast

On white

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

On black

4.10
#297E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##297E1D#FFFFFF#000000##FFFFFF
##297E1D1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817209
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#197A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297e1d;
/* rgb */ color: rgb(41, 126, 29);
/* oklch */ color: oklch(52.2% 0.154 141.4);
Tailwind
colors: {
  custom: {
    50: '#6fa460',
    500: '#297e1d',
    950: '#000000',
  },
}
SCSS
$custom: #297e1d;
$custom-light: #6fa460;
$custom-dark: #000000;
JSON
{
  "hex": "#297e1d",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 112.577,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.15391,
    "h": 141.4
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#297E1D
secondary
#A445B1
accent
#42E6D1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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