#297F19#297F19

#297F19 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.157 H 141.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#297F19
RGBrgb(41, 127, 25)
HSLhsl(111, 67%, 30%)
HSVhsv(111, 80%, 50%)
CMYKcmyk(67.7%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.60, -44.69, 44.37)
CIE-LCHlch(46.60, 62.98, 135.21°)
OKLaboklab(52.5% -0.1222 0.0991)
OKLCHoklch(52.5% 0.157 141)
XYZxyz(8.6788, 15.7195, 3.4963)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297F19 #6F197F
analogous
#5C7F19 #297F19 #197F3C
triadic
#297F19 #19297F #7F1929
tetradic
#297F19 #195C7F #6F197F #7F3C19
square
#297F19 #195C7F #6F197F #7F3C19
split-complementary
#297F19 #3C197F #7F195C
monochromatic
#081A05 #184C0F #297F19 #3AB223 #53D83A

Accessibility & contrast

On white

5.07
#297F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#297F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297F19
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297F19#FFFFFF#000000##FFFFFF
##297F191.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#197B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297f19;
/* rgb */ color: rgb(41, 127, 25);
/* oklch */ color: oklch(52.5% 0.157 141.0);
Tailwind
colors: {
  custom: {
    50: '#70a55e',
    500: '#297f19',
    950: '#000000',
  },
}
SCSS
$custom: #297f19;
$custom-light: #70a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#297f19",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 110.588,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.525,
    "c": 0.15739,
    "h": 141
  },
  "luminance": 0.1572
}

Semantic roles & 50–950 ramp

primary
#297F19
secondary
#A141B3
accent
#3EEACF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297F19

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

Preview Lab → · Contrast checker → · Palette generator →

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