#297D1D#297D1D

#297D1D is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.153 H 141.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#297D1D
RGBrgb(41, 125, 29)
HSLhsl(113, 62%, 30%)
HSVhsv(113, 77%, 49%)
CMYKcmyk(67.2%, 0%, 76.8%, 51%)
CIE-LABlab(45.94, -43.67, 42.28)
CIE-LCHlch(45.94, 60.78, 135.92°)
OKLaboklab(51.96% -0.1192 0.0954)
OKLCHoklch(51.96% 0.153 141.3)
XYZxyz(8.4694, 15.2265, 3.6548)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D1D #711D7D
analogous
#597D1D #297D1D #1D7D41
triadic
#297D1D #1D297D #7D1D29
tetradic
#297D1D #1D597D #711D7D #7D411D
square
#297D1D #1D597D #711D7D #7D411D
split-complementary
#297D1D #411D7D #7D1D59
monochromatic
#081A06 #194B11 #297D1D #39AF29 #54D341

Accessibility & contrast

On white

5.19
#297D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#297D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297D1D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D1D#FFFFFF#000000##FFFFFF
##297D1D1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#19796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297d1d;
/* rgb */ color: rgb(41, 125, 29);
/* oklch */ color: oklch(52.0% 0.153 141.3);
Tailwind
colors: {
  custom: {
    50: '#6fa360',
    500: '#297d1d',
    950: '#000000',
  },
}
SCSS
$custom: #297d1d;
$custom-light: #6fa360;
$custom-dark: #000000;
JSON
{
  "hex": "#297d1d",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 112.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5196,
    "c": 0.1527,
    "h": 141.3
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#297D1D
secondary
#A345B1
accent
#42E5D1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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