#297D2B#297D2B

#297D2B is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.143 H 143.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#297D2B
RGBrgb(41, 125, 43)
HSLhsl(121, 51%, 33%)
HSVhsv(121, 67%, 49%)
CMYKcmyk(67.2%, 0%, 65.6%, 51%)
CIE-LABlab(46.06, -42.30, 36.43)
CIE-LCHlch(46.06, 55.83, 139.26°)
OKLaboklab(52.09% -0.1148 0.0849)
OKLCHoklch(52.09% 0.143 143.5)
XYZxyz(8.6836, 15.3122, 4.7830)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D2B #7D297B
analogous
#517D29 #297D2B #297D55
triadic
#297D2B #2B297D #7D2B29
tetradic
#297D2B #29517D #7D297B #7D5529
square
#297D2B #29517D #7D297B #7D5529
split-complementary
#297D2B #55297D #7D2951
monochromatic
#0B210B #1A4F1B #297D2B #38AB3B #58C85B

Accessibility & contrast

On white

5.17
#297D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#297D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297D2B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D2B#FFFFFF#000000##FFFFFF
##297D2B1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807121
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#16796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297d2b;
/* rgb */ color: rgb(41, 125, 43);
/* oklch */ color: oklch(52.1% 0.143 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ea368',
    500: '#297d2b',
    950: '#000000',
  },
}
SCSS
$custom: #297d2b;
$custom-light: #6ea368;
$custom-dark: #000000;
JSON
{
  "hex": "#297d2b",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 121.429,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.14274,
    "h": 143.5
  },
  "luminance": 0.15313
}

Semantic roles & 50–950 ramp

primary
#297D2B
secondary
#AE54AB
accent
#4ED7DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #297D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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