#297F3F#297F3F

#297F3F is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.127 H 148.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#297F3F
RGBrgb(41, 127, 63)
HSLhsl(135, 51%, 33%)
HSVhsv(135, 68%, 50%)
CMYKcmyk(67.7%, 0%, 50.4%, 50.2%)
CIE-LABlab(46.99, -40.26, 27.36)
CIE-LCHlch(46.99, 48.68, 145.80°)
OKLaboklab(52.94% -0.1086 0.0665)
OKLCHoklch(52.94% 0.127 148.5)
XYZxyz(9.4003, 16.0081, 7.2961)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297F3F #7F2969
analogous
#3E7F29 #297F3F #297F6A
triadic
#297F3F #3F297F #7F3F29
tetradic
#297F3F #293E7F #7F2969 #7F6A29
square
#297F3F #293E7F #7F2969 #7F6A29
split-complementary
#297F3F #6A297F #7F293E
monochromatic
#0B2211 #1A5128 #297F3F #38AD56 #59C976

Accessibility & contrast

On white

5.00
#297F3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#297F3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297F3F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297F3F#FFFFFF#000000##FFFFFF
##297F3F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743A
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#097C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #297f3f;
/* rgb */ color: rgb(41, 127, 63);
/* oklch */ color: oklch(52.9% 0.127 148.5);
Tailwind
colors: {
  custom: {
    50: '#6ea575',
    500: '#297f3f',
    950: '#000000',
  },
}
SCSS
$custom: #297f3f;
$custom-light: #6ea575;
$custom-dark: #000000;
JSON
{
  "hex": "#297f3f",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 63
  },
  "hsl": {
    "h": 135.349,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52938,
    "c": 0.12736,
    "h": 148.5
  },
  "luminance": 0.16009
}

Semantic roles & 50–950 ramp

primary
#297F3F
secondary
#AF5598
accent
#4DB6DB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #297F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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