#297628#297628

#297628 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.136 H 143.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#297628
RGBrgb(41, 118, 40)
HSLhsl(119, 49%, 31%)
HSVhsv(119, 66%, 46%)
CMYKcmyk(65.3%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.63, -39.95, 35.13)
CIE-LCHlch(43.63, 53.20, 138.68°)
OKLaboklab(50.07% -0.1086 0.0818)
OKLCHoklch(50.07% 0.136 143)
XYZxyz(7.7754, 13.5807, 4.2187)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297628 #752876
analogous
#507628 #297628 #28764E
triadic
#297628 #282976 #762829
tetradic
#297628 #285076 #752876 #764E28
square
#297628 #285076 #752876 #764E28
split-complementary
#297628 #4E2876 #762850
monochromatic
#091B09 #194819 #297628 #39A437 #55C554

Accessibility & contrast

On white

5.65
#297628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#297628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297628
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297628#FFFFFF#000000##FFFFFF
##2976281.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#6F652F
Tritanopia (blue-blind)
#1A7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #297628;
/* rgb */ color: rgb(41, 118, 40);
/* oklch */ color: oklch(50.1% 0.136 143.0);
Tailwind
colors: {
  custom: {
    50: '#6d9e65',
    500: '#297628',
    950: '#000000',
  },
}
SCSS
$custom: #297628;
$custom-light: #6d9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#297628",
  "rgb": {
    "r": 41,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 119.231,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.13591,
    "h": 143
  },
  "luminance": 0.13581
}

Semantic roles & 50–950 ramp

primary
#297628
secondary
#A752A8
accent
#4FD9D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #297628

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

Preview Lab → · Contrast checker → · Palette generator →

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