#297F2D#297F2D

#297F2D is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.144 H 143.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#297F2D
RGBrgb(41, 127, 45)
HSLhsl(123, 51%, 33%)
HSVhsv(123, 68%, 50%)
CMYKcmyk(67.7%, 0%, 64.6%, 50.2%)
CIE-LABlab(46.76, -42.83, 36.28)
CIE-LCHlch(46.76, 56.12, 139.73°)
OKLaboklab(52.68% -0.1161 0.0847)
OKLCHoklch(52.68% 0.144 143.9)
XYZxyz(8.9769, 15.8387, 5.0662)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297F2D #7F297B
analogous
#507F29 #297F2D #297F58
triadic
#297F2D #2D297F #7F2D29
tetradic
#297F2D #29507F #7F297B #7F5829
square
#297F2D #29507F #7F297B #7F5829
split-complementary
#297F2D #58297F #7F2950
monochromatic
#0B220C #1A511D #297F2D #38AD3D #59C95E

Accessibility & contrast

On white

5.04
#297F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#297F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297F2D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297F2D#FFFFFF#000000##FFFFFF
##297F2D1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827324
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#147B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #297f2d;
/* rgb */ color: rgb(41, 127, 45);
/* oklch */ color: oklch(52.7% 0.144 143.9);
Tailwind
colors: {
  custom: {
    50: '#6fa569',
    500: '#297f2d',
    950: '#000000',
  },
}
SCSS
$custom: #297f2d;
$custom-light: #6fa569;
$custom-dark: #000000;
JSON
{
  "hex": "#297f2d",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 122.791,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52681,
    "c": 0.14373,
    "h": 143.9
  },
  "luminance": 0.1584
}

Semantic roles & 50–950 ramp

primary
#297F2D
secondary
#AF55AB
accent
#4DD4DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #297F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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