#297E1C#297E1C

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

Color values

HEX#297E1C
RGBrgb(41, 126, 28)
HSLhsl(112, 64%, 30%)
HSVhsv(112, 78%, 49%)
CMYKcmyk(67.5%, 0%, 77.8%, 50.6%)
CIE-LABlab(46.28, -44.11, 42.99)
CIE-LCHlch(46.28, 61.60, 135.74°)
OKLaboklab(52.24% -0.1205 0.0967)
OKLCHoklch(52.24% 0.155 141.3)
XYZxyz(8.5845, 15.4761, 3.6332)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297E1C #711C7E
analogous
#5A7E1C #297E1C #1C7E40
triadic
#297E1C #1C297E #7E1C29
tetradic
#297E1C #1C5A7E #711C7E #7E401C
square
#297E1C #1C5A7E #711C7E #7E401C
split-complementary
#297E1C #401C7E #7E1C5A
monochromatic
#081A06 #194C11 #297E1C #39B027 #54D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297E1C#FFFFFF#000000##FFFFFF
##297E1C1.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)
#817207
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#197A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297e1c;
/* rgb */ color: rgb(41, 126, 28);
/* oklch */ color: oklch(52.2% 0.155 141.3);
Tailwind
colors: {
  custom: {
    50: '#6fa460',
    500: '#297e1c',
    950: '#000000',
  },
}
SCSS
$custom: #297e1c;
$custom-light: #6fa460;
$custom-dark: #000000;
JSON
{
  "hex": "#297e1c",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 112.041,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52237,
    "c": 0.15451,
    "h": 141.3
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

primary
#297E1C
secondary
#A344B2
accent
#41E7D1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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