#297D2C#297D2C

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

Color values

HEX#297D2C
RGBrgb(41, 125, 44)
HSLhsl(122, 51%, 33%)
HSVhsv(122, 67%, 49%)
CMYKcmyk(67.2%, 0%, 64.8%, 51%)
CIE-LABlab(46.07, -42.18, 35.97)
CIE-LCHlch(46.07, 55.44, 139.55°)
OKLaboklab(52.11% -0.1144 0.084)
OKLCHoklch(52.11% 0.142 143.7)
XYZxyz(8.7022, 15.3196, 4.8808)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D2C #7D297A
analogous
#507D29 #297D2C #297D56
triadic
#297D2C #2C297D #7D2C29
tetradic
#297D2C #29507D #7D297A #7D5629
square
#297D2C #29507D #7D297A #7D5629
split-complementary
#297D2C #56297D #7D2950
monochromatic
#0B210C #1A4F1C #297D2C #38AB3C #58C85C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297D2C#FFFFFF#000000##FFFFFF
##297D2C1.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)
#807123
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#15796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297d2c;
/* rgb */ color: rgb(41, 125, 44);
/* oklch */ color: oklch(52.1% 0.142 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ea368',
    500: '#297d2c',
    950: '#000000',
  },
}
SCSS
$custom: #297d2c;
$custom-light: #6ea368;
$custom-dark: #000000;
JSON
{
  "hex": "#297d2c",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 122.143,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52105,
    "c": 0.14192,
    "h": 143.7
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#297D2C
secondary
#AE54AA
accent
#4ED5DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #297D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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