#297D40#297D40

#297D40 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.124 H 149.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#297D40
RGBrgb(41, 125, 64)
HSLhsl(136, 51%, 33%)
HSVhsv(136, 67%, 49%)
CMYKcmyk(67.2%, 0%, 48.8%, 51%)
CIE-LABlab(46.32, -39.28, 25.98)
CIE-LCHlch(46.32, 47.10, 146.52°)
OKLaboklab(52.4% -0.106 0.0635)
OKLCHoklch(52.4% 0.124 149.1)
XYZxyz(9.1728, 15.5079, 7.3594)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D40 #7D2966
analogous
#3C7D29 #297D40 #297D6A
triadic
#297D40 #40297D #7D4029
tetradic
#297D40 #293C7D #7D2966 #7D6A29
square
#297D40 #293C7D #7D2966 #7D6A29
split-complementary
#297D40 #6A297D #7D293C
monochromatic
#0B2111 #1A4F28 #297D40 #38AB58 #58C877

Accessibility & contrast

On white

5.12
#297D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#297D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297D40
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D40#FFFFFF#000000##FFFFFF
##297D401.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723B
Deuteranopia (green-blind)
#736B44
Tritanopia (blue-blind)
#0A7B6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297d40;
/* rgb */ color: rgb(41, 125, 64);
/* oklch */ color: oklch(52.4% 0.124 149.1);
Tailwind
colors: {
  custom: {
    50: '#6da376',
    500: '#297d40',
    950: '#000000',
  },
}
SCSS
$custom: #297d40;
$custom-light: #6da376;
$custom-dark: #000000;
JSON
{
  "hex": "#297d40",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 136.429,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52396,
    "c": 0.12352,
    "h": 149.1
  },
  "luminance": 0.15509
}

Semantic roles & 50–950 ramp

primary
#297D40
secondary
#AE5495
accent
#4EB4DA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #297D40

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

Preview Lab → · Contrast checker → · Palette generator →

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