#297E2E#297E2E

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

Color values

HEX#297E2E
RGBrgb(41, 126, 46)
HSLhsl(124, 51%, 33%)
HSVhsv(124, 67%, 49%)
CMYKcmyk(67.5%, 0%, 63.5%, 50.6%)
CIE-LABlab(46.43, -42.32, 35.42)
CIE-LCHlch(46.43, 55.19, 140.07°)
OKLaboklab(52.41% -0.1147 0.083)
OKLCHoklch(52.41% 0.142 144.1)
XYZxyz(8.8679, 15.5895, 5.1260)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297E2E #7E2979
analogous
#4F7E29 #297E2E #297E58
triadic
#297E2E #2E297E #7E2E29
tetradic
#297E2E #294F7E #7E2979 #7E5829
square
#297E2E #294F7E #7E2979 #7E5829
split-complementary
#297E2E #58297E #7E294F
monochromatic
#0B220C #1A501D #297E2E #38AC3F #59C95F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297E2E#FFFFFF#000000##FFFFFF
##297E2E1.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)
#807225
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#147B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297e2e;
/* rgb */ color: rgb(41, 126, 46);
/* oklch */ color: oklch(52.4% 0.142 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ea46a',
    500: '#297e2e',
    950: '#000000',
  },
}
SCSS
$custom: #297e2e;
$custom-light: #6ea46a;
$custom-dark: #000000;
JSON
{
  "hex": "#297e2e",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 123.529,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.14158,
    "h": 144.1
  },
  "luminance": 0.1559
}

Semantic roles & 50–950 ramp

primary
#297E2E
secondary
#AE55A9
accent
#4DD2DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #297E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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