#297E1F#297E1F

#297E1F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.153 H 141.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#297E1F
RGBrgb(41, 126, 31)
HSLhsl(114, 61%, 31%)
HSVhsv(114, 75%, 49%)
CMYKcmyk(67.5%, 0%, 75.4%, 50.6%)
CIE-LABlab(46.30, -43.87, 41.87)
CIE-LCHlch(46.30, 60.65, 136.34°)
OKLaboklab(52.26% -0.1197 0.0948)
OKLCHoklch(52.26% 0.153 141.6)
XYZxyz(8.6222, 15.4912, 3.8318)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297E1F #741F7E
analogous
#587E1F #297E1F #1F7E44
triadic
#297E1F #1F297E #7E1F29
tetradic
#297E1F #1F587E #741F7E #7E441F
square
#297E1F #1F587E #741F7E #7E441F
split-complementary
#297E1F #441F7E #7E1F58
monochromatic
#091C07 #194D13 #297E1F #39AF2B #55D146

Accessibility & contrast

On white

5.12
#297E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #297E1F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297E1F#FFFFFF#000000##FFFFFF
##297E1F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#187A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297e1f;
/* rgb */ color: rgb(41, 126, 31);
/* oklch */ color: oklch(52.3% 0.153 141.6);
Tailwind
colors: {
  custom: {
    50: '#6fa461',
    500: '#297e1f',
    950: '#000000',
  },
}
SCSS
$custom: #297e1f;
$custom-light: #6fa461;
$custom-dark: #000000;
JSON
{
  "hex": "#297e1f",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 113.684,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5226,
    "c": 0.15269,
    "h": 141.6
  },
  "luminance": 0.15492
}

Semantic roles & 50–950 ramp

primary
#297E1F
secondary
#A648B1
accent
#44E4D3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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