#297E2D#297E2D

#297E2D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.142 H 143.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#297E2D
RGBrgb(41, 126, 45)
HSLhsl(123, 51%, 33%)
HSVhsv(123, 67%, 49%)
CMYKcmyk(67.5%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.42, -42.45, 35.89)
CIE-LCHlch(46.42, 55.59, 139.78°)
OKLaboklab(52.4% -0.1151 0.0839)
OKLCHoklch(52.4% 0.142 143.9)
XYZxyz(8.8484, 15.5817, 5.0234)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297E2D #7E297A
analogous
#4F7E29 #297E2D #297E58
triadic
#297E2D #2D297E #7E2D29
tetradic
#297E2D #294F7E #7E297A #7E5829
square
#297E2D #294F7E #7E297A #7E5829
split-complementary
#297E2D #58297E #7E294F
monochromatic
#0B220C #1A501D #297E2D #38AC3D #59C95E

Accessibility & contrast

On white

5.10
#297E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#297E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297E2D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297E2D#FFFFFF#000000##FFFFFF
##297E2D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#147A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297e2d;
/* rgb */ color: rgb(41, 126, 45);
/* oklch */ color: oklch(52.4% 0.142 143.9);
Tailwind
colors: {
  custom: {
    50: '#6ea469',
    500: '#297e2d',
    950: '#000000',
  },
}
SCSS
$custom: #297e2d;
$custom-light: #6ea469;
$custom-dark: #000000;
JSON
{
  "hex": "#297e2d",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 122.824,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52399,
    "c": 0.14241,
    "h": 143.9
  },
  "luminance": 0.15583
}

Semantic roles & 50–950 ramp

primary
#297E2D
secondary
#AE55AA
accent
#4DD4DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #297E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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