#297112#297112

#297112 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.144 H 139.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#297112
RGBrgb(41, 113, 18)
HSLhsl(105, 73%, 26%)
HSVhsv(105, 84%, 44%)
CMYKcmyk(63.7%, 0%, 84.1%, 55.7%)
CIE-LABlab(41.73, -39.96, 42.04)
CIE-LCHlch(41.73, 58.00, 133.54°)
OKLaboklab(48.45% -0.1099 0.0932)
OKLCHoklch(48.45% 0.144 139.7)
XYZxyz(6.9285, 12.3247, 2.5859)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297112 #5A1271
analogous
#587112 #297112 #12712B
triadic
#297112 #122971 #711229
tetradic
#297112 #125871 #5A1271 #712B12
square
#297112 #125871 #5A1271 #712B12
split-complementary
#297112 #2B1271 #711258
monochromatic
#0A1A04 #163C0A #297112 #3CA61A #4FDB23

Accessibility & contrast

On white

6.06
#297112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#297112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297112
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297112#FFFFFF#000000##FFFFFF
##2971121.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6C601E
Tritanopia (blue-blind)
#206D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #297112;
/* rgb */ color: rgb(41, 113, 18);
/* oklch */ color: oklch(48.4% 0.144 139.7);
Tailwind
colors: {
  custom: {
    50: '#6d9b59',
    500: '#297112',
    950: '#000000',
  },
}
SCSS
$custom: #297112;
$custom-light: #6d9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#297112",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 105.474,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4845,
    "c": 0.14409,
    "h": 139.7
  },
  "luminance": 0.12325
}

Semantic roles & 50–950 ramp

primary
#297112
secondary
#8D37A8
accent
#39EFC3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297112

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

Preview Lab → · Contrast checker → · Palette generator →

#297112 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva