#296817#296817

#296817 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.130 H 139.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#296817
RGBrgb(41, 104, 23)
HSLhsl(107, 64%, 25%)
HSVhsv(107, 78%, 41%)
CMYKcmyk(60.6%, 0%, 77.9%, 59.2%)
CIE-LABlab(38.61, -36.09, 37.26)
CIE-LCHlch(38.61, 51.87, 134.09°)
OKLaboklab(45.88% -0.0991 0.084)
OKLCHoklch(45.88% 0.13 139.7)
XYZxyz(6.0192, 10.4334, 2.5071)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296817 #561768
analogous
#516817 #296817 #17682E
triadic
#296817 #172968 #681729
tetradic
#296817 #175168 #561768 #682E17
square
#296817 #175168 #561768 #682E17
split-complementary
#296817 #2E1768 #681751
monochromatic
#0A1906 #15360C #296817 #3D9A22 #51CC2D

Accessibility & contrast

On white

6.80
#296817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#296817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296817
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296817#FFFFFF#000000##FFFFFF
##2968171.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E07
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#226458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #296817;
/* rgb */ color: rgb(41, 104, 23);
/* oklch */ color: oklch(45.9% 0.130 139.7);
Tailwind
colors: {
  custom: {
    50: '#6b945a',
    500: '#296817',
    950: '#000000',
  },
}
SCSS
$custom: #296817;
$custom-light: #6b945a;
$custom-dark: #000000;
JSON
{
  "hex": "#296817",
  "rgb": {
    "r": 41,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 106.667,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45882,
    "c": 0.12994,
    "h": 139.7
  },
  "luminance": 0.10434
}

Semantic roles & 50–950 ramp

primary
#296817
secondary
#893D9E
accent
#41E7C2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #296817

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

Preview Lab → · Contrast checker → · Palette generator →

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