#297E45#297E45

#297E45 is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.8% C 0.120 H 150.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#297E45
RGBrgb(41, 126, 69)
HSLhsl(140, 51%, 33%)
HSVhsv(140, 67%, 49%)
CMYKcmyk(67.5%, 0%, 45.2%, 50.6%)
CIE-LABlab(46.74, -38.81, 23.76)
CIE-LCHlch(46.74, 45.51, 148.52°)
OKLaboklab(52.77% -0.1047 0.0586)
OKLCHoklch(52.77% 0.12 150.8)
XYZxyz(9.4487, 15.8218, 8.1850)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297E45 #7E2962
analogous
#377E29 #297E45 #297E6F
triadic
#297E45 #45297E #7E4529
tetradic
#297E45 #29377E #7E2962 #7E6F29
square
#297E45 #29377E #7E2962 #7E6F29
split-complementary
#297E45 #6F297E #7E2937
monochromatic
#0B2212 #1A502C #297E45 #38AC5E #59C97E

Accessibility & contrast

On white

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

On black

4.16
#297E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##297E45#FFFFFF#000000##FFFFFF
##297E451.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7341
Deuteranopia (green-blind)
#746C49
Tritanopia (blue-blind)
#047C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #297e45;
/* rgb */ color: rgb(41, 126, 69);
/* oklch */ color: oklch(52.8% 0.120 150.8);
Tailwind
colors: {
  custom: {
    50: '#6da479',
    500: '#297e45',
    950: '#000000',
  },
}
SCSS
$custom: #297e45;
$custom-light: #6da479;
$custom-dark: #000000;
JSON
{
  "hex": "#297e45",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 139.765,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.11997,
    "h": 150.8
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#297E45
secondary
#AE5591
accent
#4DACDA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #297E45

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

Preview Lab → · Contrast checker → · Palette generator →

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