#297612#297612

#297612 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.150 H 140.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#297612
RGBrgb(41, 118, 18)
HSLhsl(106, 74%, 27%)
HSVhsv(106, 85%, 46%)
CMYKcmyk(65.3%, 0%, 84.7%, 53.7%)
CIE-LABlab(43.46, -41.84, 43.65)
CIE-LCHlch(43.46, 60.47, 133.78°)
OKLaboklab(49.89% -0.1149 0.0966)
OKLCHoklch(49.89% 0.15 140)
XYZxyz(7.5017, 13.4712, 2.7770)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297612 #5F1276
analogous
#5B7612 #297612 #12762D
triadic
#297612 #122976 #761229
tetradic
#297612 #125B76 #5F1276 #762D12
square
#297612 #125B76 #5F1276 #762D12
split-complementary
#297612 #2D1276 #76125B
monochromatic
#091B04 #17410A #297612 #3BAB1A #4FDE25

Accessibility & contrast

On white

5.68
#297612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#297612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297612
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297612#FFFFFF#000000##FFFFFF
##2976121.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#1E7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #297612;
/* rgb */ color: rgb(41, 118, 18);
/* oklch */ color: oklch(49.9% 0.150 140.0);
Tailwind
colors: {
  custom: {
    50: '#6e9e5a',
    500: '#297612',
    950: '#000000',
  },
}
SCSS
$custom: #297612;
$custom-light: #6e9e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#297612",
  "rgb": {
    "r": 41,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 106.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.15012,
    "h": 140
  },
  "luminance": 0.13472
}

Semantic roles & 50–950 ramp

primary
#297612
secondary
#9237AD
accent
#38F0C6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #297612

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

Preview Lab → · Contrast checker → · Palette generator →

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