#297C22#297C22

#297C22 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.148 H 142.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#297C22
RGBrgb(41, 124, 34)
HSLhsl(115, 57%, 31%)
HSVhsv(115, 73%, 49%)
CMYKcmyk(66.9%, 0%, 72.6%, 51.4%)
CIE-LABlab(45.64, -42.87, 39.98)
CIE-LCHlch(45.64, 58.61, 137.00°)
OKLaboklab(51.72% -0.1168 0.0912)
OKLCHoklch(51.72% 0.148 142)
XYZxyz(8.4104, 15.0014, 3.9654)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297C22 #75227C
analogous
#567C22 #297C22 #227C48
triadic
#297C22 #22297C #7C2229
tetradic
#297C22 #22567C #75227C #7C4822
square
#297C22 #22567C #75227C #7C4822
split-complementary
#297C22 #48227C #7C2256
monochromatic
#091C08 #194C15 #297C22 #39AC2F #55CE4B

Accessibility & contrast

On white

5.25
#297C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#297C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297C22
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297C22#FFFFFF#000000##FFFFFF
##297C221.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#19786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #297c22;
/* rgb */ color: rgb(41, 124, 34);
/* oklch */ color: oklch(51.7% 0.148 142.0);
Tailwind
colors: {
  custom: {
    50: '#6fa363',
    500: '#297c22',
    950: '#000000',
  },
}
SCSS
$custom: #297c22;
$custom-light: #6fa363;
$custom-dark: #000000;
JSON
{
  "hex": "#297c22",
  "rgb": {
    "r": 41,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 115.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.14821,
    "h": 142
  },
  "luminance": 0.15002
}

Semantic roles & 50–950 ramp

primary
#297C22
secondary
#A74BAF
accent
#48E0D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #297C22

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

Preview Lab → · Contrast checker → · Palette generator →

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