#296728#296728

#296728 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.115 H 143.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#296728
RGBrgb(41, 103, 40)
HSLhsl(119, 44%, 28%)
HSVhsv(119, 61%, 40%)
CMYKcmyk(60.2%, 0%, 61.2%, 59.6%)
CIE-LABlab(38.42, -33.86, 29.19)
CIE-LCHlch(38.42, 44.70, 139.24°)
OKLaboklab(45.78% -0.0921 0.069)
OKLCHoklch(45.78% 0.115 143.2)
XYZxyz(6.1474, 10.3246, 3.6760)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296728 #662867
analogous
#486728 #296728 #286746
triadic
#296728 #282967 #672829
tetradic
#296728 #284867 #662867 #674628
square
#296728 #284867 #662867 #674628
split-complementary
#296728 #462867 #672848
monochromatic
#091609 #173B17 #296728 #3B9339 #51BB4F

Accessibility & contrast

On white

6.85
#296728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#296728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296728
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296728#FFFFFF#000000##FFFFFF
##2967281.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E22
Deuteranopia (green-blind)
#61582D
Tritanopia (blue-blind)
#1F6459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #296728;
/* rgb */ color: rgb(41, 103, 40);
/* oklch */ color: oklch(45.8% 0.115 143.2);
Tailwind
colors: {
  custom: {
    50: '#6a9364',
    500: '#296728',
    950: '#000000',
  },
}
SCSS
$custom: #296728;
$custom-light: #6a9364;
$custom-dark: #000000;
JSON
{
  "hex": "#296728",
  "rgb": {
    "r": 41,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 119.048,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.11506,
    "h": 143.2
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#296728
secondary
#98519A
accent
#54D4D2
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #296728

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

Preview Lab → · Contrast checker → · Palette generator →

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